[llvm-commits] [llvm] r46410 - /llvm/trunk/include/llvm/CodeGen/SelectionDAGNodes.h

2008-01-26 Thread Chris Lattner
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:

[llvm-commits] [llvm] r46411 - /llvm/trunk/lib/Target/X86/X86ISelLowering.cpp

2008-01-26 Thread Chris Lattner
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:

Re: [llvm-commits] [llvm-gcc-4.2] r46334 - /llvm-gcc-4.2/trunk/gcc/llvm-types.cpp

2008-01-25 Thread Chris Lattner
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

Re: [llvm-commits] [llvm] r46349 - /llvm/trunk/lib/CodeGen/SelectionDAG/DAGCombiner.cpp

2008-01-25 Thread Chris Lattner
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

[llvm-commits] [llvm] r46360 - /llvm/trunk/include/llvm/CodeGen/MachineFrameInfo.h

2008-01-25 Thread Chris Lattner
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:

Re: [llvm-commits] [llvm] r46387 - in /llvm/trunk: lib/Transforms/Scalar/SimplifyCFG.cpp test/CFrontend/2008-01-25-EmptyFunction.c

2008-01-25 Thread Chris Lattner
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

Re: [llvm-commits] [llvm] r46372 - /llvm/trunk/test/CFrontend/2008-01-25-ByValReadNone.c

2008-01-25 Thread Chris Lattner
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

[llvm-commits] [llvm] r46384 - in /llvm/trunk: lib/CodeGen/SelectionDAG/DAGCombiner.cpp test/CodeGen/Generic/2008-01-25-dag-combine-mul.ll

2008-01-25 Thread Chris Lattner
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

[llvm-commits] [llvm] r46383 - /llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAG.cpp

2008-01-25 Thread Chris Lattner
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:

[llvm-commits] [llvm] r46377 - /llvm/trunk/lib/CodeGen/SelectionDAG/DAGCombiner.cpp

2008-01-25 Thread Chris Lattner
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:

Re: [llvm-commits] [llvm] r46360 - /llvm/trunk/include/llvm/CodeGen/MachineFrameInfo.h

2008-01-25 Thread Chris Lattner
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

[llvm-commits] [llvm-gcc-4.2] r46373 - /llvm-gcc-4.2/trunk/gcc/llvm-types.cpp

2008-01-25 Thread Chris Lattner
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:

Re: [llvm-commits] [llvm] r46349 - /llvm/trunk/lib/CodeGen/SelectionDAG/DAGCombiner.cpp

2008-01-25 Thread Chris Lattner
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

Re: [llvm-commits] [llvm] r46350 - /llvm/trunk/include/llvm/CodeGen/MachineFrameInfo.h

2008-01-25 Thread Chris Lattner
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

Re: [llvm-commits] [llvm] r46349 - /llvm/trunk/lib/CodeGen/SelectionDAG/DAGCombiner.cpp

2008-01-25 Thread Chris Lattner
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

[llvm-commits] [llvm] r46307 - in /llvm/trunk: lib/Target/X86/X86ISelDAGToDAG.cpp lib/Target/X86/X86ISelLowering.cpp lib/Target/X86/X86InstrSSE.td test/CodeGen/X86/fp-stack-direct-ret.ll test/CodeGen/

2008-01-24 Thread Chris Lattner
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.

Re: [llvm-commits] [llvm] r46305 - /llvm/trunk/lib/CodeGen/SelectionDAG/DAGCombiner.cpp

2008-01-24 Thread Chris Lattner
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) +

[llvm-commits] [llvm] r46313 - /llvm/trunk/lib/CodeGen/SelectionDAG/DAGCombiner.cpp

2008-01-24 Thread Chris Lattner
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

[llvm-commits] [llvm] r46314 - in /llvm/trunk: include/llvm/Argument.h lib/VMCore/Function.cpp

2008-01-24 Thread Chris Lattner
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

[llvm-commits] [llvm] r46315 - in /llvm/trunk: lib/Analysis/BasicAliasAnalysis.cpp test/Analysis/BasicAA/byval.ll

2008-01-24 Thread Chris Lattner
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

[llvm-commits] [llvm] r46318 - /llvm/trunk/lib/Analysis/BasicAliasAnalysis.cpp

2008-01-24 Thread Chris Lattner
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:

[llvm-commits] [llvm] r46320 - /llvm/trunk/lib/CodeGen/ShadowStackCollector.cpp

2008-01-24 Thread Chris Lattner
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:

[llvm-commits] CVS: llvm-www/pubs/2008-CGO-DagISel.html 2008-CGO-DagISel.pdf

2008-01-24 Thread Chris Lattner
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

[llvm-commits] CVS: llvm-www/pubs/index.html

2008-01-24 Thread Chris Lattner
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

[llvm-commits] CVS: llvm-www/pubs/index.html 2008-CGO-DagISel.html

2008-01-24 Thread Chris Lattner
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

Re: [llvm-commits] [llvm] r46337 - in /llvm/trunk/lib/Target/X86: X86RegisterInfo.cpp X86RegisterInfo.h X86RegisterInfo.td

2008-01-24 Thread Chris Lattner
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

Re: [llvm-commits] [llvm] r46307 - in /llvm/trunk: lib/Target/X86/X86ISelDAGToDAG.cpp lib/Target/X86/X86ISelLowering.cpp lib/Target/X86/X86InstrSSE.td test/CodeGen/X86/fp-stack-direct-ret.ll test/Code

2008-01-24 Thread Chris Lattner
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

[llvm-commits] [llvm] r46344 - in /llvm/trunk: lib/Target/X86/X86ISelLowering.cpp test/CodeGen/X86/copysign-zero.ll

2008-01-24 Thread Chris Lattner
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:

[llvm-commits] [llvm] r46345 - /llvm/trunk/lib/Target/X86/X86ISelLowering.cpp

2008-01-24 Thread Chris Lattner
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:

[llvm-commits] [llvm] r46349 - /llvm/trunk/lib/CodeGen/SelectionDAG/DAGCombiner.cpp

2008-01-24 Thread Chris Lattner
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

[llvm-commits] [llvm] r46350 - /llvm/trunk/include/llvm/CodeGen/MachineFrameInfo.h

2008-01-24 Thread Chris Lattner
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

[llvm-commits] [llvm-gcc-4.2] r46275 - /llvm-gcc-4.2/trunk/gcc/llvm-convert.cpp

2008-01-23 Thread Chris Lattner
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

[llvm-commits] [llvm-gcc-4.0] r46276 - /llvm-gcc-4.0/trunk/gcc/llvm-convert.cpp

2008-01-23 Thread Chris Lattner
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

Re: [llvm-commits] [llvm-gcc-4.2] r46291 - /llvm-gcc-4.2/trunk/gcc/config/i386/llvm-i386.cpp

2008-01-23 Thread Chris Lattner
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

[llvm-commits] [llvm] r46303 - in /llvm/trunk/test/CodeGen/X86: pr1505.ll pr1505b.ll

2008-01-23 Thread Chris Lattner
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:

[llvm-commits] [llvm] r46304 - /llvm/trunk/lib/CodeGen/SelectionDAG/DAGCombiner.cpp

2008-01-23 Thread Chris Lattner
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:

[llvm-commits] [llvm] r46305 - /llvm/trunk/lib/CodeGen/SelectionDAG/DAGCombiner.cpp

2008-01-23 Thread Chris Lattner
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

Re: [llvm-commits] a question about type conversion propagation and elimination

2008-01-22 Thread Chris Lattner
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

[llvm-commits] [llvm] r46254 - /llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAG.cpp

2008-01-22 Thread Chris Lattner
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,

Re: [llvm-commits] [llvm] r46220 - /llvm/trunk/test/CFrontend/2008-01-21-PackedStructField.c

2008-01-22 Thread Chris Lattner
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))

Re: [llvm-commits] [llvm] r46187 - in /llvm/trunk: include/llvm/ADT/FoldingSet.h lib/Support/FoldingSet.cpp

2008-01-22 Thread Chris Lattner
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

Re: [llvm-commits] [llvm-gcc-4.2] r46164 - in /llvm-gcc-4.2/trunk/gcc/config/i386: llvm-i386-target.h llvm-i386.cpp

2008-01-22 Thread Chris Lattner
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

Re: [llvm-commits] [llvm-gcc-4.2] r46164 - in /llvm-gcc-4.2/trunk/gcc/config/i386: llvm-i386-target.h llvm-i386.cpp

2008-01-22 Thread Chris Lattner
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.

[llvm-commits] [llvm] r46222 - /llvm/trunk/include/llvm/CodeGen/MachineRelocation.h

2008-01-21 Thread Chris Lattner
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

Re: [llvm-commits] [llvm] r46216 - /llvm/trunk/lib/VMCore/ParameterAttributes.cpp

2008-01-21 Thread Chris Lattner
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

Re: [llvm-commits] [llvm] r46224 - /llvm/trunk/include/llvm/ADT/ImmutableSet.h

2008-01-21 Thread Chris Lattner
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,

[llvm-commits] [llvm] r46243 - /llvm/trunk/lib/Target/Mips/MipsRegisterInfo.cpp

2008-01-21 Thread Chris Lattner
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:

[llvm-commits] [llvm] r46245 - /llvm/trunk/Makefile.rules

2008-01-21 Thread Chris Lattner
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

[llvm-commits] [llvm] r46246 - /llvm/trunk/test/Verifier/byval-2.ll

2008-01-21 Thread Chris Lattner
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:

Re: [llvm-commits] [llvm] r46140 - in /llvm/trunk: include/llvm/Target/ lib/CodeGen/SelectionDAG/ lib/Target/ lib/Target/ARM/ lib/Target/Alpha/ lib/Target/CellSPU/ lib/Target/Mips/ lib/Target/PowerPC/

2008-01-18 Thread Chris Lattner
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

[llvm-commits] [llvm] r46173 - in /llvm/trunk/test/CodeGen/CellSPU: call.ll call_indirect.ll ctpop.ll dp_farith.ll eqv.ll extract_elt.ll fdiv.ll fneg-fabs.ll immed32.ll immed64.ll int2fp.ll intrinsics

2008-01-18 Thread Chris Lattner
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

[llvm-commits] [llvm] r46161 - in /llvm/trunk: lib/Target/PowerPC/PPCISelLowering.cpp test/CodeGen/PowerPC/stfiwx-2.ll

2008-01-18 Thread Chris Lattner
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:

[llvm-commits] [llvm] r46171 - /llvm/trunk/lib/CodeGen/SelectionDAG/TargetLowering.cpp

2008-01-18 Thread Chris Lattner
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:

Re: [llvm-commits] [llvm] r46144 - in /llvm/trunk/lib/Target: PowerPC/PPCAsmPrinter.cpp X86/X86AsmPrinter.cpp

2008-01-18 Thread Chris Lattner
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

[llvm-commits] [llvm] r46162 - /llvm/trunk/include/llvm/Target/TargetLowering.h

2008-01-18 Thread Chris Lattner
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:

[llvm-commits] [llvm] r46165 - /llvm/trunk/lib/Target/PowerPC/PPCISelLowering.cpp

2008-01-18 Thread Chris Lattner
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:

[llvm-commits] [llvm] r46166 - /llvm/trunk/include/llvm/ADT/StringExtras.h

2008-01-18 Thread Chris Lattner
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:

[llvm-commits] [llvm] r46139 - /llvm/trunk/test/CodeGen/Generic/storetrunc-fp.ll

2008-01-17 Thread Chris Lattner
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:

[llvm-commits] [llvm] r46140 - in /llvm/trunk: include/llvm/Target/ lib/CodeGen/SelectionDAG/ lib/Target/ lib/Target/ARM/ lib/Target/Alpha/ lib/Target/CellSPU/ lib/Target/Mips/ lib/Target/PowerPC/ lib

2008-01-17 Thread Chris Lattner
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

[llvm-commits] [llvm] r46159 - /llvm/trunk/lib/Target/X86/X86ISelLowering.h

2008-01-17 Thread Chris Lattner
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:

[llvm-commits] [llvm] r46072 - /llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAG.cpp

2008-01-16 Thread Chris Lattner
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:

[llvm-commits] [llvm] r46073 - /llvm/trunk/test/CodeGen/PowerPC/longdbl-truncate.ll

2008-01-16 Thread Chris Lattner
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:

[llvm-commits] [llvm-gcc-4.2] r46089 - /llvm-gcc-4.2/trunk/gcc/llvm-convert.cpp

2008-01-16 Thread Chris Lattner
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:

[llvm-commits] [llvm] r46090 - /llvm/trunk/lib/Transforms/IPO/StripSymbols.cpp

2008-01-16 Thread Chris Lattner
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:

Re: [llvm-commits] [llvm] r45850 - /llvm/trunk/lib/VMCore/Verifier.cpp

2008-01-16 Thread Chris Lattner
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

[llvm-commits] [llvm] r46108 - in /llvm/trunk: lib/Transforms/IPO/ArgumentPromotion.cpp test/Transforms/ArgumentPromotion/attrs.ll

2008-01-16 Thread Chris Lattner
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

[llvm-commits] [llvm] r46124 - /llvm/trunk/test/CodeGen/Generic/v-split.ll

2008-01-16 Thread Chris Lattner
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

[llvm-commits] [llvm] r46125 - in /llvm/trunk: include/llvm/CodeGen/ lib/CodeGen/SelectionDAG/ lib/Target/IA64/ lib/Target/PowerPC/ lib/Target/X86/

2008-01-16 Thread Chris Lattner
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

[llvm-commits] [llvm] r46126 - /llvm/trunk/lib/CodeGen/SelectionDAG/DAGCombiner.cpp

2008-01-16 Thread Chris Lattner
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:

[llvm-commits] [llvm] r46128 - /llvm/trunk/include/llvm/CodeGen/SelectionDAGNodes.h

2008-01-16 Thread Chris Lattner
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:

Re: [llvm-commits] [llvm-gcc-4.2] r46004 - in /llvm-gcc-4.2/trunk/gcc: config/i386/i386.c config/i386/llvm-i386-target.h llvm-abi.h

2008-01-15 Thread Chris Lattner
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

[llvm-commits] [llvm-gcc-4.2] r46010 - /llvm-gcc-4.2/trunk/gcc/llvm-convert.cpp

2008-01-15 Thread Chris Lattner
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:

[llvm-commits] [llvm-gcc-4.0] r46011 - /llvm-gcc-4.0/trunk/gcc/llvm-convert.cpp

2008-01-15 Thread Chris Lattner
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

[llvm-commits] [llvm] r46015 - in /llvm/trunk/lib/Target/X86: X86ISelLowering.cpp X86ISelLowering.h X86InstrInfo.td

2008-01-15 Thread Chris Lattner
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

[llvm-commits] [llvm] r46014 - in /llvm/trunk/lib/CodeGen/SelectionDAG: LegalizeDAG.cpp TargetLowering.cpp

2008-01-15 Thread Chris Lattner
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

[llvm-commits] [llvm] r46017 - in /llvm/trunk/lib/Target: ARM/ARMInstrInfo.td ARM/ARMInstrVFP.td Alpha/AlphaInstrInfo.td CellSPU/SPUNodes.td PowerPC/PPCInstrInfo.td TargetSelectionDAG.td X86/X86InstrI

2008-01-15 Thread Chris Lattner
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

[llvm-commits] [llvm] r46018 - /llvm/trunk/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp

2008-01-15 Thread Chris Lattner
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:

[llvm-commits] [llvm] r46019 - /llvm/trunk/lib/Target/PowerPC/README.txt

2008-01-15 Thread Chris Lattner
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:

[llvm-commits] [llvm] r46020 - /llvm/trunk/test/CodeGen/Generic/trap.ll

2008-01-15 Thread Chris Lattner
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:

[llvm-commits] [llvm] r46023 - /llvm/trunk/test/CodeGen/X86/trap.ll

2008-01-15 Thread Chris Lattner
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:

Re: [llvm-commits] [llvm] r46016 - in /llvm/trunk/lib: CodeGen/LiveVariables.cpp CodeGen/PHIElimination.cpp CodeGen/TwoAddressInstructionPass.cpp Target/ARM/ARMInstrInfo.cpp

2008-01-15 Thread Chris Lattner
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,

[llvm-commits] [llvm] r46025 - /llvm/trunk/test/Transforms/ArgumentPromotion/byval-2.ll

2008-01-15 Thread Chris Lattner
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:

Re: [llvm-commits] [llvm] r45850 - /llvm/trunk/lib/VMCore/Verifier.cpp

2008-01-15 Thread Chris Lattner
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,

[llvm-commits] [llvm] r46026 - in /llvm/trunk: Makefile.config.in lib/VMCore/Makefile

2008-01-15 Thread Chris Lattner
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:

Re: [llvm-commits] Patch for compiling with Mingw/Cygwin

2008-01-15 Thread Chris Lattner
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

[llvm-commits] [llvm] r46032 - /llvm/trunk/Makefile.rules

2008-01-15 Thread Chris Lattner
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:

Re: [llvm-commits] [llvm] r46026 - in /llvm/trunk: Makefile.config.in lib/VMCore/Makefile

2008-01-15 Thread Chris Lattner
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

[llvm-commits] [llvm-gcc-4.0] r46042 - in /llvm-gcc-4.0/trunk/gcc: config/darwin.h llvm-backend.cpp llvm.h objc/objc-act.c varasm.c

2008-01-15 Thread Chris Lattner
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

[llvm-commits] [llvm-gcc-4.2] r46046 - /llvm-gcc-4.2/trunk/gcc/config/darwin.h

2008-01-15 Thread Chris Lattner
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:

[llvm-commits] [llvm-gcc-4.0] r46047 - /llvm-gcc-4.0/trunk/gcc/config/darwin.h

2008-01-15 Thread Chris Lattner
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:

Re: [llvm-commits] [llvm] r46045 - in /llvm/trunk: lib/Transforms/IPO/StripSymbols.cpp test/Transforms/StripSymbols/ test/Transforms/StripSymbols/2007-01-15-llvm.used.ll test/Transforms/StripSymbols/O

2008-01-15 Thread Chris Lattner
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

Re: [llvm-commits] Fix for PR1798 (ScalarEvolution)

2008-01-15 Thread Chris Lattner
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)

[llvm-commits] [llvm] r46050 - in /llvm/trunk: include/llvm/CodeGen/SelectionDAGNodes.h lib/CodeGen/SelectionDAG/DAGCombiner.cpp lib/CodeGen/SelectionDAG/SelectionDAG.cpp

2008-01-15 Thread Chris Lattner
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:

[llvm-commits] [llvm] r46052 - /llvm/trunk/lib/Target/X86/X86ISelLowering.cpp

2008-01-15 Thread Chris Lattner
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:

[llvm-commits] [llvm] r46053 - /llvm/trunk/lib/Target/X86/X86ISelLowering.cpp

2008-01-15 Thread Chris Lattner
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:

[llvm-commits] [llvm] r46054 - in /llvm/trunk: lib/Target/X86/X86ISelLowering.cpp test/CodeGen/X86/fp-stack-retcopy.ll

2008-01-15 Thread Chris Lattner
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

[llvm-commits] [llvm] r46055 - in /llvm/trunk/lib/Target/X86: X86ISelLowering.cpp X86ISelLowering.h

2008-01-15 Thread Chris Lattner
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

[llvm-commits] [llvm-gcc-4.2] r46056 - /llvm-gcc-4.2/trunk/gcc/config/darwin.h

2008-01-15 Thread Chris Lattner
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:

[llvm-commits] [llvm-gcc-4.0] r46057 - /llvm-gcc-4.0/trunk/gcc/config/darwin.h

2008-01-15 Thread Chris Lattner
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:

[llvm-commits] [llvm] r46058 - in /llvm/trunk/lib/Target/X86: X86ISelLowering.cpp X86ISelLowering.h

2008-01-15 Thread Chris Lattner
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

<    1   2   3   4   5   6   7   8   9   10   >