Author: lattner
Date: Sun Jan 27 00:19:08 2008
New Revision: 46410
URL: http://llvm.org/viewvc/llvm-project?rev=46410view=rev
Log:
make isExactlyValue work for long double.
Modified:
llvm/trunk/include/llvm/CodeGen/SelectionDAGNodes.h
Modified:
Author: lattner
Date: Sun Jan 27 00:19:31 2008
New Revision: 46411
URL: http://llvm.org/viewvc/llvm-project?rev=46411view=rev
Log:
Use fldz and fld1 for long double constants instead of a constant pool load.
Modified:
llvm/trunk/lib/Target/X86/X86ISelLowering.cpp
Modified:
On Jan 25, 2008, at 1:01 AM, Duncan Sands wrote:
Hi Devang,
Fix 2008-01-24-StructAlignAndBitFields.c test case.
Bit-field type does not influence struct alignment.
I don't see the point of trying to get the LLVM type to have the same
alignment as the gcc type. I think all the code that
On Jan 25, 2008, at 12:53 AM, Duncan Sands wrote:
Add skeletal code to increase the alignment of loads and stores when
we can infer it. This will eventually help stuff, though it doesn't
do much right now because all fixed FI's have an alignment of 1.
By the way, I've always assumed that
Author: lattner
Date: Fri Jan 25 11:49:41 2008
New Revision: 46360
URL: http://llvm.org/viewvc/llvm-project?rev=46360view=rev
Log:
Reorder a field to reduce the size of StackObject. Note that this
may require a clean rebuild on leopard. :(
Modified:
On Jan 25, 2008, at 5:43 PM, Bill Wendling wrote:
URL: http://llvm.org/viewvc/llvm-project?rev=46387view=rev
Log:
If we have a function like this:
This is bad on some platforms (like PPC) because it will generate
the label for
the function but no body. The label could end up being
On Jan 25, 2008, at 4:35 PM, Evan Cheng wrote:
How would this test case pass if the target does not pass structs
byval?
That's why I picked a big struct. :)
-Chris
Evan
On Jan 25, 2008, at 2:36 PM, Chris Lattner wrote:
Author: lattner
Date: Fri Jan 25 16:36:24 2008
New Revision
Author: lattner
Date: Fri Jan 25 19:09:19 2008
New Revision: 46384
URL: http://llvm.org/viewvc/llvm-project?rev=46384view=rev
Log:
Fix some bugs in SimplifyNodeWithTwoResults where it would call deletenode to
delete a node even if it was not dead in some cases. Instead, just add it to
the
Author: lattner
Date: Fri Jan 25 19:05:42 2008
New Revision: 46383
URL: http://llvm.org/viewvc/llvm-project?rev=46383view=rev
Log:
don't bother making x-1 only to simplify it in dag combine. This commonly
occurs expanding i64 ops.
Modified:
Author: lattner
Date: Fri Jan 25 17:34:24 2008
New Revision: 46377
URL: http://llvm.org/viewvc/llvm-project?rev=46377view=rev
Log:
reduce indentation
Modified:
llvm/trunk/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
Modified: llvm/trunk/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
URL:
On Jan 25, 2008, at 2:05 PM, Dale Johannesen wrote:
On Jan 25, 2008, at 9:49 AM, Chris Lattner wrote:
Author: lattner
Date: Fri Jan 25 11:49:41 2008
New Revision: 46360
URL: http://llvm.org/viewvc/llvm-project?rev=46360view=rev
Log:
Reorder a field to reduce the size of StackObject
Author: lattner
Date: Fri Jan 25 16:37:31 2008
New Revision: 46373
URL: http://llvm.org/viewvc/llvm-project?rev=46373view=rev
Log:
If a function takes a byval parameter, it can't be readnone, we
have to mark it readonly instead. This fixes
test/CFrontend/2008-01-25-ByValReadNone.c
Modified:
On Jan 25, 2008, at 8:37 AM, Duncan Sands wrote:
PS: Does an alignment of 0 mean the ABI alignment or the preferred
alignment? I'm guessing that it means ABI for globals and
preferred for allocas.
In what context?
In any context :) Basically I'm asking what it means if you pass an
On Jan 24, 2008, at 11:53 PM, Evan Cheng wrote:
Ugh, really??
Yep, I didn't have time to investigate, but will try to look into it
today.
-Chris
Evan
On Jan 24, 2008, at 11:29 PM, Chris Lattner wrote:
Author: lattner
Date: Fri Jan 25 01:29:34 2008
New Revision: 46350
URL: http
On Jan 25, 2008, at 2:07 AM, Duncan Sands wrote:
PS: Does an alignment of 0 mean the ABI alignment or the preferred
alignment? I'm guessing that it means ABI for globals and
preferred for allocas.
In what context?
-Chris
___
llvm-commits mailing
Author: lattner
Date: Thu Jan 24 02:07:48 2008
New Revision: 46307
URL: http://llvm.org/viewvc/llvm-project?rev=46307view=rev
Log:
Significantly simplify and improve handling of FP function results on x86-32.
This case returns the value in ST(0) and then has to convert it to an SSE
register.
On Jan 24, 2008, at 1:05 AM, Duncan Sands wrote:
Hi Chris,
+// Add any uses of the old node to the worklist if they
have a single
+// use. They may be dead after this node is deleted.
+for (unsigned i = 0, e = N-getNumOperands(); i != e; ++i)
+
Author: lattner
Date: Thu Jan 24 11:10:01 2008
New Revision: 46313
URL: http://llvm.org/viewvc/llvm-project?rev=46313view=rev
Log:
clarify a comment, thanks Duncan.
Modified:
llvm/trunk/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
Modified: llvm/trunk/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
Author: lattner
Date: Thu Jan 24 11:47:11 2008
New Revision: 46314
URL: http://llvm.org/viewvc/llvm-project?rev=46314view=rev
Log:
Add hasByValAttr() and hasNoAliasAttr() methods to the Argument class.
Modified:
llvm/trunk/include/llvm/Argument.h
llvm/trunk/lib/VMCore/Function.cpp
Author: lattner
Date: Thu Jan 24 12:00:32 2008
New Revision: 46315
URL: http://llvm.org/viewvc/llvm-project?rev=46315view=rev
Log:
Teach basicaa that 'byval' arguments define a new memory location that
can't be aliased to other known objects. This allows us to know that byval
pointer args don't
Author: lattner
Date: Thu Jan 24 13:07:10 2008
New Revision: 46318
URL: http://llvm.org/viewvc/llvm-project?rev=46318view=rev
Log:
getUnderlyingObject can return null, handle this.
Modified:
llvm/trunk/lib/Analysis/BasicAliasAnalysis.cpp
Modified:
Author: lattner
Date: Thu Jan 24 13:28:11 2008
New Revision: 46320
URL: http://llvm.org/viewvc/llvm-project?rev=46320view=rev
Log:
Don't dump the function!
Modified:
llvm/trunk/lib/CodeGen/ShadowStackCollector.cpp
Modified: llvm/trunk/lib/CodeGen/ShadowStackCollector.cpp
URL:
Changes in directory llvm-www/pubs:
2008-CGO-DagISel.html added (r1.1)
2008-CGO-DagISel.pdf added (r1.1)
---
Log message:
add a paper on near optimal instruction selection
---
Diffs of the changes: (+48 -0)
2008-CGO-DagISel.html | 48
Changes in directory llvm-www/pubs:
index.html updated: 1.61 - 1.62
---
Log message:
add paper to index.
---
Diffs of the changes: (+5 -0)
index.html |5 +
1 files changed, 5 insertions(+)
Index: llvm-www/pubs/index.html
diff -u llvm-www/pubs/index.html:1.61
Changes in directory llvm-www/pubs:
index.html updated: 1.62 - 1.63
2008-CGO-DagISel.html updated: 1.1 - 1.2
---
Log message:
more formal name.
---
Diffs of the changes: (+2 -2)
2008-CGO-DagISel.html |2 +-
index.html|2 +-
2 files changed, 2 insertions(+), 2
On Jan 24, 2008, at 4:53 PM, Owen Anderson wrote:
Evan, Chris,
I've confirmed that basic testcases appear to be working with this
change.
Awesome, thanks Anton and Owen!
-Chris
___
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
On Jan 24, 2008, at 4:54 PM, Evan Cheng wrote:
Is there a bugzilla on the scheduling deficiency?
Good idea!
http://llvm.org/bugs/show_bug.cgi?id=1944
-Chris
___
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
Author: lattner
Date: Thu Jan 24 23:46:26 2008
New Revision: 46344
URL: http://llvm.org/viewvc/llvm-project?rev=46344view=rev
Log:
Add target-specific dag combines for FAND(x,0) and FOR(x,0). This allows
us to compile:
double test(double X) {
return copysign(0.0, X);
}
into:
_test:
Author: lattner
Date: Fri Jan 25 00:14:17 2008
New Revision: 46345
URL: http://llvm.org/viewvc/llvm-project?rev=46345view=rev
Log:
optimize fxor like for
Modified:
llvm/trunk/lib/Target/X86/X86ISelLowering.cpp
Modified: llvm/trunk/lib/Target/X86/X86ISelLowering.cpp
URL:
Author: lattner
Date: Fri Jan 25 01:20:16 2008
New Revision: 46349
URL: http://llvm.org/viewvc/llvm-project?rev=46349view=rev
Log:
Add skeletal code to increase the alignment of loads and stores when
we can infer it. This will eventually help stuff, though it doesn't
do much right now because
Author: lattner
Date: Fri Jan 25 01:29:34 2008
New Revision: 46350
URL: http://llvm.org/viewvc/llvm-project?rev=46350view=rev
Log:
move this field back. Moving the field causes miscompilations (!) of voronoi
and others.
Modified:
llvm/trunk/include/llvm/CodeGen/MachineFrameInfo.h
Author: lattner
Date: Wed Jan 23 13:01:49 2008
New Revision: 46275
URL: http://llvm.org/viewvc/llvm-project?rev=46275view=rev
Log:
Fix rdar://5701047, llvm-gcc crashes on this testcase on ppc:
typedef __attribute__((altivec(vector__))) float vFloat;
static const vFloat _minusZero = ((const
Author: lattner
Date: Wed Jan 23 13:04:14 2008
New Revision: 46276
URL: http://llvm.org/viewvc/llvm-project?rev=46276view=rev
Log:
Fix rdar://5701047, llvm-gcc crashes on this testcase on ppc:
typedef __attribute__((altivec(vector__))) float vFloat;
static const vFloat _minusZero = ((const
On Jan 23, 2008, at 3:44 PM, Evan Cheng wrote:
URL: http://llvm.org/viewvc/llvm-project?rev=46291view=rev
Log:
Pointer's are also consider integer types. So %struct.datum = type
{ i8*, i32 } should not be passed by ByVal.
Ok, but please use !isaPointerType(STy) instead of using getTypeID
Author: lattner
Date: Thu Jan 24 00:35:44 2008
New Revision: 46303
URL: http://llvm.org/viewvc/llvm-project?rev=46303view=rev
Log:
take these with a pr #
Modified:
llvm/trunk/test/CodeGen/X86/pr1505.ll
llvm/trunk/test/CodeGen/X86/pr1505b.ll
Modified:
Author: lattner
Date: Thu Jan 24 00:45:35 2008
New Revision: 46304
URL: http://llvm.org/viewvc/llvm-project?rev=46304view=rev
Log:
fold fp_round(fp_round(x)) - fp_round(x).
Modified:
llvm/trunk/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
Modified:
Author: lattner
Date: Thu Jan 24 01:18:21 2008
New Revision: 46305
URL: http://llvm.org/viewvc/llvm-project?rev=46305view=rev
Log:
The dag combiner is missing revisiting nodes that it really should, and thus
leaving
dead stuff around. This gets fed into the isel pass and causes certain
On Jan 22, 2008, at 2:10 AM, humeafo wrote:
I am a newbie to LLVM, so I have to say sorry if I asked the
question in the wrong place.
In some cases when I generate LLVM IR from machine assembly(with
limited type information) I have to convert the pointers to I32,
after the standard
Author: lattner
Date: Tue Jan 22 13:09:33 2008
New Revision: 46254
URL: http://llvm.org/viewvc/llvm-project?rev=46254view=rev
Log:
Simplify SelectionDAG::getNode so that a big switch stmt is not #ifndef
NDEBUG. This is in response to a really nasty bug I introduced that
Dale tracked down,
On Jan 22, 2008, at 3:02 PM, Tanya Lattner wrote:
This fails with llvm-gcc-4.0, darwin 8, x86.
../../src/gcc/llvm-types.cpp:82: failed assertion `(!TYPE_SIZE(Tr)
|| !Ty-isSized() || !isInt64(TYPE_SIZE(Tr), true) || getInt64
(TYPE_SIZE(Tr), true) == getTargetData().getABITypeSizeInBits(Ty))
On Jan 18, 2008, at 8:22 PM, Ted Kremenek wrote:
Author: kremenek
Date: Fri Jan 18 22:22:50 2008
New Revision: 46187
URL: http://llvm.org/viewvc/llvm-project?rev=46187view=rev
Log:
Made 'FoldingSetNodeID' a proper class instead of a nested class in
'FoldingSetNodeImpl' (previously
On Jan 19, 2008, at 12:47 AM, Duncan Sands wrote:
i32 / i64 all integer structs are not passed byval.
What about integer arrays?
This is an optimization, not a correctness issue. Can you give an
example that you mean?
-Chris
___
llvm-commits
On Jan 22, 2008, at 10:03 PM, Duncan Sands wrote:
What about integer arrays?
This is an optimization, not a correctness issue. Can you give an
example that you mean?
According to the x86-64 ABI, arrays of integers that are not more
than 8 bytes long are passed in integer registers.
Author: lattner
Date: Mon Jan 21 16:27:27 2008
New Revision: 46222
URL: http://llvm.org/viewvc/llvm-project?rev=46222view=rev
Log:
Fix the failures in the PPC JIT by marking relocation entries for
external symbols (e.g. 'fmod') as needing a stub. This regression
was introduced by Evan's jit
On Jan 21, 2008, at 1:37 PM, Duncan Sands wrote:
URL: http://llvm.org/viewvc/llvm-project?rev=46216view=rev
Log:
It turns out that in C++ it is legal to declare functions
that return an opaque type by value, as long as you don't
call it or provide a body (you can take the address of it).
So
On Jan 21, 2008, at 2:33 PM, Ted Kremenek wrote:
URL: http://llvm.org/viewvc/llvm-project?rev=46224view=rev
Log:
Replaced (FoldingSet) profiling of ImutAVLTree with a hashing based
scheme. The
problem was that we previously hashed based on the pointers of the
left and
right children,
Author: lattner
Date: Mon Jan 21 22:47:47 2008
New Revision: 46243
URL: http://llvm.org/viewvc/llvm-project?rev=46243view=rev
Log:
Trivial patch to fix two warnings, please pull into llvm 2.2
Modified:
llvm/trunk/lib/Target/Mips/MipsRegisterInfo.cpp
Modified:
Author: lattner
Date: Mon Jan 21 23:19:26 2008
New Revision: 46245
URL: http://llvm.org/viewvc/llvm-project?rev=46245view=rev
Log:
One too many )'s breaks 'make clean' with certain versions of make.
This fixes PR1927
This should be pulled into llvm 2.2.
Modified:
llvm/trunk/Makefile.rules
Author: lattner
Date: Mon Jan 21 23:31:58 2008
New Revision: 46246
URL: http://llvm.org/viewvc/llvm-project?rev=46246view=rev
Log:
update this test to pass with duncan's change.
Modified:
llvm/trunk/test/Verifier/byval-2.ll
Modified: llvm/trunk/test/Verifier/byval-2.ll
URL:
On Jan 17, 2008, at 10:03 PM, Duncan Sands wrote:
Hi Chris,
+ LegalizeAction getTruncStoreAction(MVT::ValueType ValVT,
+ MVT::ValueType MemVT) const {
+assert(ValVT MVT::LAST_VALUETYPE MemVT 32
what is 32? Did you mean = LAST_INTEGER_VALUETYPE or
Author: lattner
Date: Fri Jan 18 13:53:43 2008
New Revision: 46173
URL: http://llvm.org/viewvc/llvm-project?rev=46173view=rev
Log:
remove extraneous 's from tests, as Scott is apparently not going to.
Modified:
llvm/trunk/test/CodeGen/CellSPU/call.ll
Author: lattner
Date: Fri Jan 18 10:54:56 2008
New Revision: 46161
URL: http://llvm.org/viewvc/llvm-project?rev=46161view=rev
Log:
Fix a latent bug exposed by my truncstore patch. We compiled stfiwx-2.ll to:
_test:
fctiwz f0, f1
stfiwx f0, 0, r4
blr
instead of:
_test:
Author: lattner
Date: Fri Jan 18 13:36:20 2008
New Revision: 46171
URL: http://llvm.org/viewvc/llvm-project?rev=46171view=rev
Log:
remove extraneous 's.
Modified:
llvm/trunk/lib/CodeGen/SelectionDAG/TargetLowering.cpp
Modified: llvm/trunk/lib/CodeGen/SelectionDAG/TargetLowering.cpp
URL:
On Jan 18, 2008, at 10:19 AM, Dale Johannesen wrote:
On Jan 18, 2008, at 10:13 AM, Tanya Lattner wrote:
Should the test/CodeGen/X86/aligned-comm.ll be un-XFAILED? Its now
XPASSing.
-Tanya
I guess so; given the current state of llvm it is supposed to pass.
Longterm what should happen is
Author: lattner
Date: Fri Jan 18 11:13:03 2008
New Revision: 46162
URL: http://llvm.org/viewvc/llvm-project?rev=46162view=rev
Log:
remove magic numbers.
Modified:
llvm/trunk/include/llvm/Target/TargetLowering.h
Modified: llvm/trunk/include/llvm/Target/TargetLowering.h
URL:
Author: lattner
Date: Fri Jan 18 12:51:16 2008
New Revision: 46165
URL: http://llvm.org/viewvc/llvm-project?rev=46165view=rev
Log:
get symbolic information for ppc ldbl nodes.
Modified:
llvm/trunk/lib/Target/PowerPC/PPCISelLowering.cpp
Modified:
Author: lattner
Date: Fri Jan 18 12:54:31 2008
New Revision: 46166
URL: http://llvm.org/viewvc/llvm-project?rev=46166view=rev
Log:
don't form an std::string with a null pointer, it aborts.
Modified:
llvm/trunk/include/llvm/ADT/StringExtras.h
Modified:
Author: lattner
Date: Thu Jan 17 13:47:23 2008
New Revision: 46139
URL: http://llvm.org/viewvc/llvm-project?rev=46139view=rev
Log:
new testcase.
Added:
llvm/trunk/test/CodeGen/Generic/storetrunc-fp.ll
Added: llvm/trunk/test/CodeGen/Generic/storetrunc-fp.ll
URL:
Author: lattner
Date: Thu Jan 17 13:59:44 2008
New Revision: 46140
URL: http://llvm.org/viewvc/llvm-project?rev=46140view=rev
Log:
This commit changes:
1. Legalize now always promotes truncstore of i1 to i8.
2. Remove patterns and gunk related to truncstore i1 from targets.
3. Rename the
Author: lattner
Date: Fri Jan 18 00:52:41 2008
New Revision: 46159
URL: http://llvm.org/viewvc/llvm-project?rev=46159view=rev
Log:
make a method public
Modified:
llvm/trunk/lib/Target/X86/X86ISelLowering.h
Modified: llvm/trunk/lib/Target/X86/X86ISelLowering.h
URL:
Author: lattner
Date: Wed Jan 16 11:59:31 2008
New Revision: 46072
URL: http://llvm.org/viewvc/llvm-project?rev=46072view=rev
Log:
Fix a ppc long double regression I introduced yesterday due to a
simplification. This fixes automotive-basicmath on PPC.
Modified:
Author: lattner
Date: Wed Jan 16 12:03:52 2008
New Revision: 46073
URL: http://llvm.org/viewvc/llvm-project?rev=46073view=rev
Log:
add testcase for regression
Added:
llvm/trunk/test/CodeGen/PowerPC/longdbl-truncate.ll
Added: llvm/trunk/test/CodeGen/PowerPC/longdbl-truncate.ll
URL:
Author: lattner
Date: Wed Jan 16 15:10:05 2008
New Revision: 46089
URL: http://llvm.org/viewvc/llvm-project?rev=46089view=rev
Log:
Wire up __builtin_bswap32/64 to llvm.bswap. This is a 4.2-only feature.
Modified:
llvm-gcc-4.2/trunk/gcc/llvm-convert.cpp
Modified:
Author: lattner
Date: Wed Jan 16 15:35:43 2008
New Revision: 46090
URL: http://llvm.org/viewvc/llvm-project?rev=46090view=rev
Log:
Handle attribute(used) global variables that are i8.
Modified:
llvm/trunk/lib/Transforms/IPO/StripSymbols.cpp
Modified:
On Jan 16, 2008, at 2:58 PM, Duncan Sands wrote:
Hi Chris,
try this example. Argpromotion deletes the zeroext attribute on the
call.
Right, it deletes it because the attr is on the call not the
function. I can make this work, but shouldn't the attr also be on
the
function?
the
Author: lattner
Date: Wed Jan 16 19:17:03 2008
New Revision: 46108
URL: http://llvm.org/viewvc/llvm-project?rev=46108view=rev
Log:
Fix arg promotion to propagate the correct attrs on the calls to
promoted functions. This is important for varargs calls in
particular. Thanks to duncan for
Author: lattner
Date: Thu Jan 17 00:54:09 2008
New Revision: 46124
URL: http://llvm.org/viewvc/llvm-project?rev=46124view=rev
Log:
add testcase that has been sitting in my tree for awhile.
Added:
llvm/trunk/test/CodeGen/Generic/v-split.ll
Added: llvm/trunk/test/CodeGen/Generic/v-split.ll
Author: lattner
Date: Thu Jan 17 01:00:52 2008
New Revision: 46125
URL: http://llvm.org/viewvc/llvm-project?rev=46125view=rev
Log:
* Introduce a new SelectionDAG::getIntPtrConstant method
and switch various codegen pieces and the X86 backend over
to using it.
* Add some comments to
Author: lattner
Date: Thu Jan 17 01:20:38 2008
New Revision: 46126
URL: http://llvm.org/viewvc/llvm-project?rev=46126view=rev
Log:
code cleanups, no functionality change.
Modified:
llvm/trunk/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
Modified:
Author: lattner
Date: Thu Jan 17 01:30:38 2008
New Revision: 46128
URL: http://llvm.org/viewvc/llvm-project?rev=46128view=rev
Log:
add some helper methods.
Modified:
llvm/trunk/include/llvm/CodeGen/SelectionDAGNodes.h
Modified: llvm/trunk/include/llvm/CodeGen/SelectionDAGNodes.h
URL:
URL: http://llvm.org/viewvc/llvm-project?rev=46004view=rev
Log:
Make use of existing gcc facility to determine if an aggregate
argument should be passed ByVal in x86-64 mode.
Nice.
+/* Target hook for llvm-abi.h. It returns true if an aggregate of the
+ specified type should be passed
Author: lattner
Date: Tue Jan 15 15:35:53 2008
New Revision: 46010
URL: http://llvm.org/viewvc/llvm-project?rev=46010view=rev
Log:
Add support for builtin_trap, which was basically just broken before.
Modified:
llvm-gcc-4.2/trunk/gcc/llvm-convert.cpp
Modified:
Author: lattner
Date: Tue Jan 15 15:38:04 2008
New Revision: 46011
URL: http://llvm.org/viewvc/llvm-project?rev=46011view=rev
Log:
implement __builtin_trap, which was previously just broken.
Modified:
llvm-gcc-4.0/trunk/gcc/llvm-convert.cpp
Modified: llvm-gcc-4.0/trunk/gcc/llvm-convert.cpp
Author: lattner
Date: Tue Jan 15 15:58:22 2008
New Revision: 46015
URL: http://llvm.org/viewvc/llvm-project?rev=46015view=rev
Log:
no need to expand ISD::TRAP to X86ISD::TRAP, just match ISD::TRAP.
Modified:
llvm/trunk/lib/Target/X86/X86ISelLowering.cpp
Author: lattner
Date: Tue Jan 15 15:58:08 2008
New Revision: 46014
URL: http://llvm.org/viewvc/llvm-project?rev=46014view=rev
Log:
Add support for targets that have a legal ISD::TRAP.
Modified:
llvm/trunk/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
Author: lattner
Date: Tue Jan 15 16:02:54 2008
New Revision: 46017
URL: http://llvm.org/viewvc/llvm-project?rev=46017view=rev
Log:
rename SDTRet - SDTNone.
Move definition of 'trap' sdnode up from x86 instrinfo to targetselectiondag.td.
Modified:
llvm/trunk/lib/Target/ARM/ARMInstrInfo.td
Author: lattner
Date: Tue Jan 15 16:09:33 2008
New Revision: 46018
URL: http://llvm.org/viewvc/llvm-project?rev=46018view=rev
Log:
The type of the 'abort' node should be pointer type (because
it's a function pointer) not MVT::Other. This fixes builtin_trap
lowering on ppc, alpha, ia64
Modified:
Author: lattner
Date: Tue Jan 15 16:15:02 2008
New Revision: 46019
URL: http://llvm.org/viewvc/llvm-project?rev=46019view=rev
Log:
If someone wants to implement ppc TRAP, they can go for it :)
Modified:
llvm/trunk/lib/Target/PowerPC/README.txt
Modified:
Author: lattner
Date: Tue Jan 15 16:17:26 2008
New Revision: 46020
URL: http://llvm.org/viewvc/llvm-project?rev=46020view=rev
Log:
new testcase for llvm.trap.
Added:
llvm/trunk/test/CodeGen/Generic/trap.ll
Added: llvm/trunk/test/CodeGen/Generic/trap.ll
URL:
Author: lattner
Date: Tue Jan 15 16:22:02 2008
New Revision: 46023
URL: http://llvm.org/viewvc/llvm-project?rev=46023view=rev
Log:
verify x86 generates ud2 for llvm.trap
Added:
llvm/trunk/test/CodeGen/X86/trap.ll
Added: llvm/trunk/test/CodeGen/X86/trap.ll
URL:
On Jan 15, 2008, at 2:02 PM, Owen Anderson wrote:
URL: http://llvm.org/viewvc/llvm-project?rev=46016view=rev
Log:
Remove DefInst from LiveVariables::VarInfo. Use the facilities on
MachineRegisterInfo instead.
Woot,
+void LiveVariables::MarkVirtRegAliveInBlock(unsigned reg,
Author: lattner
Date: Tue Jan 15 16:38:12 2008
New Revision: 46025
URL: http://llvm.org/viewvc/llvm-project?rev=46025view=rev
Log:
add a test to ensure that argpromote of one argument doesn't
break the byval attr on some other argument.
Added:
On Jan 13, 2008, at 12:18 AM, Duncan Sands wrote:
there are some issues that need to be fixed:
(1) the asm parser drops parameter attributes specified on the
varargs
part of a call/invoke;
(2) when the DAE pass drops varargs call arguments, the parameter
attributes need to be trimmed,
Author: lattner
Date: Tue Jan 15 16:50:50 2008
New Revision: 46026
URL: http://llvm.org/viewvc/llvm-project?rev=46026view=rev
Log:
improve compatibility with mingw, patch by Alain Frisch
Modified:
llvm/trunk/Makefile.config.in
llvm/trunk/lib/VMCore/Makefile
Modified:
On Jan 14, 2008, at 9:59 PM, Alain Frisch wrote:
Chris Lattner wrote:
Okay, this looks really good. One final question before I commit:
why does tblgen want a windows path instead of a unix path? Can
that be fixed in tblgen? Doesn't this affect llvm-as and all other
tools?
When
Author: lattner
Date: Tue Jan 15 17:27:40 2008
New Revision: 46032
URL: http://llvm.org/viewvc/llvm-project?rev=46032view=rev
Log:
Commit a piece that I missed before, patch by Alain Frisch
Modified:
llvm/trunk/Makefile.rules
Modified: llvm/trunk/Makefile.rules
URL:
On Jan 15, 2008, at 2:52 PM, Alain Frisch wrote:
Great, thanks!
(To make it work, note that Makefile.rules also needs to be patched.)
Ah, missed that piece, thank you for mentioning it!
-chris
___
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
Author: lattner
Date: Tue Jan 15 19:19:03 2008
New Revision: 46042
URL: http://llvm.org/viewvc/llvm-project?rev=46042view=rev
Log:
The final ultimate(?) fix for the silly objc .reference thing. Instead of
ignoring
them, we now queue them up as a file-scope inline asm block. This allows us to
Author: lattner
Date: Tue Jan 15 21:53:20 2008
New Revision: 46046
URL: http://llvm.org/viewvc/llvm-project?rev=46046view=rev
Log:
remove a dead line, thanks to bill for pointing this out.
Modified:
llvm-gcc-4.2/trunk/gcc/config/darwin.h
Modified: llvm-gcc-4.2/trunk/gcc/config/darwin.h
URL:
Author: lattner
Date: Tue Jan 15 21:54:18 2008
New Revision: 46047
URL: http://llvm.org/viewvc/llvm-project?rev=46047view=rev
Log:
remove a dead line, thanks to bill for pointing this out.
Modified:
llvm-gcc-4.0/trunk/gcc/config/darwin.h
Modified: llvm-gcc-4.0/trunk/gcc/config/darwin.h
URL:
On Jan 15, 2008, at 7:33 PM, Devang Patel wrote:
URL: http://llvm.org/viewvc/llvm-project?rev=46045view=rev
Log:
Do not strip llvm.used values.
Nice catch,
-Chris
___
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
On Jan 15, 2008, at 1:36 PM, Wojciech Matyjewicz wrote:
The attached patch should fix the aforementioned bug. It passes
DejaGnu
testsuite. Nick also checked that it passes llvm-test and llvm-gcc
bootstrap (thanks!).
Oooh cool!
The patch:
1) changes SCEVSDivExpr into SCEVUDivExpr,
2)
Author: lattner
Date: Tue Jan 15 23:49:24 2008
New Revision: 46050
URL: http://llvm.org/viewvc/llvm-project?rev=46050view=rev
Log:
Factor the ReachesChainWithoutSideEffects out of dag combiner into
a public SDOperand::reachesChainWithoutSideEffects method. No
functionality change.
Modified:
Author: lattner
Date: Tue Jan 15 23:52:18 2008
New Revision: 46052
URL: http://llvm.org/viewvc/llvm-project?rev=46052view=rev
Log:
various whitespace cleanups, no functionality change.
Modified:
llvm/trunk/lib/Target/X86/X86ISelLowering.cpp
Modified:
Author: lattner
Date: Tue Jan 15 23:53:06 2008
New Revision: 46053
URL: http://llvm.org/viewvc/llvm-project?rev=46053view=rev
Log:
make the 'fp return in ST(0)' optimization smart enough to
look through token factor
Modified:
llvm/trunk/lib/Target/X86/X86ISelLowering.cpp
Modified:
Author: lattner
Date: Tue Jan 15 23:56:59 2008
New Revision: 46054
URL: http://llvm.org/viewvc/llvm-project?rev=46054view=rev
Log:
My previous commit had an incomplete message, it should have been:
make the 'fp return in ST(0)' optimization smart enough to
look through token factor nodes. THis
Author: lattner
Date: Wed Jan 16 00:19:45 2008
New Revision: 46055
URL: http://llvm.org/viewvc/llvm-project?rev=46055view=rev
Log:
introduce a isTypeInSSEReg predicate, which allows us to simplify
some code. No functionality change.
Modified:
llvm/trunk/lib/Target/X86/X86ISelLowering.cpp
Author: lattner
Date: Wed Jan 16 00:22:04 2008
New Revision: 46056
URL: http://llvm.org/viewvc/llvm-project?rev=46056view=rev
Log:
VLA's aren't c90, use alloca instead.
Modified:
llvm-gcc-4.2/trunk/gcc/config/darwin.h
Modified: llvm-gcc-4.2/trunk/gcc/config/darwin.h
URL:
Author: lattner
Date: Wed Jan 16 00:22:21 2008
New Revision: 46057
URL: http://llvm.org/viewvc/llvm-project?rev=46057view=rev
Log:
vla's aren't C90, use alloca instead.
Modified:
llvm-gcc-4.0/trunk/gcc/config/darwin.h
Modified: llvm-gcc-4.0/trunk/gcc/config/darwin.h
URL:
Author: lattner
Date: Wed Jan 16 00:24:21 2008
New Revision: 46058
URL: http://llvm.org/viewvc/llvm-project?rev=46058view=rev
Log:
make it more clear that this predicate only applies to scalar FP types.
Modified:
llvm/trunk/lib/Target/X86/X86ISelLowering.cpp
201 - 300 of 7469 matches
Mail list logo