[llvm-commits] [llvm] r41043 - /llvm/trunk/lib/CodeGen/LiveInterval.cpp

2007-08-13 Thread Evan Cheng
Author: evancheng Date: Mon Aug 13 02:12:23 2007 New Revision: 41043 URL: http://llvm.org/viewvc/llvm-project?rev=41043&view=rev Log: Kill info update bugs. Modified: llvm/trunk/lib/CodeGen/LiveInterval.cpp Modified: llvm/trunk/lib/CodeGen/LiveInterval.cpp URL: http://llvm.org/viewvc/llvm-p

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

2007-08-13 Thread Chris Lattner
Author: lattner Date: Mon Aug 13 11:48:27 2007 New Revision: 41045 URL: http://llvm.org/viewvc/llvm-project?rev=41045&view=rev Log: When building casts, constant fold with ConstantFoldInstruction instead of ConstantExpr::getCast. This allows target-data driven constant folding to happen. In the

[llvm-commits] [llvm] r41046 - /llvm/trunk/lib/VMCore/ConstantFold.cpp

2007-08-13 Thread Chris Lattner
Author: lattner Date: Mon Aug 13 12:09:08 2007 New Revision: 41046 URL: http://llvm.org/viewvc/llvm-project?rev=41046&view=rev Log: Constant fold: getelementptr (i8* inttoptr (i64 1 to i8*), i32 -1) Into: inttoptr (i64 0 to i8*) -> null This occurs in the example in PR1602. With this fixed, we

[llvm-commits] [llvm] r41047 - /llvm/trunk/test/C++Frontend/ptr-to-method-devirt.cpp

2007-08-13 Thread Chris Lattner
Author: lattner Date: Mon Aug 13 12:17:03 2007 New Revision: 41047 URL: http://llvm.org/viewvc/llvm-project?rev=41047&view=rev Log: test that the ptr-to-method is succefully eliminated, leaving just the vtable dispatch. Added: llvm/trunk/test/C++Frontend/ptr-to-method-devirt.cpp Added: llvm

[llvm-commits] [llvm] r41048 - in /llvm/trunk: lib/Target/X86/X86AsmPrinter.cpp test/CodeGen/X86/2007-08-13-AppendingLinkage.ll

2007-08-13 Thread Chris Lattner
Author: lattner Date: Mon Aug 13 13:42:37 2007 New Revision: 41048 URL: http://llvm.org/viewvc/llvm-project?rev=41048&view=rev Log: Fix PR1607 Added: llvm/trunk/test/CodeGen/X86/2007-08-13-AppendingLinkage.ll Modified: llvm/trunk/lib/Target/X86/X86AsmPrinter.cpp Modified: llvm/trunk/lib

[llvm-commits] [llvm] r41049 - in /llvm/trunk: lib/Target/X86/X86ISelDAGToDAG.cpp test/CodeGen/X86/lea-recursion.ll

2007-08-13 Thread Dan Gohman
Author: djg Date: Mon Aug 13 15:03:06 2007 New Revision: 41049 URL: http://llvm.org/viewvc/llvm-project?rev=41049&view=rev Log: When x86 addresses matching exceeds its recursion limit, check to see if the base register is already occupied before assuming it can be used. This fixes bogus code gener

Re: [llvm-commits] [llvm] r40988 - /llvm/trunk/test/Scripts/count

2007-08-13 Thread Dan Gohman
> Why not make the script do the grep too? Something like: > > countgrep foo 2 *shrug*, that's more than I needed to solve a specific problem :-). And it's nice to be able to support grep options like -v, -F, -i, etc. in a simple way. Dan -- Dan Gohman, Cray Inc. __

[llvm-commits] [llvm] r41050 - /llvm/trunk/lib/ExecutionEngine/JIT/JIT.cpp

2007-08-13 Thread Chris Lattner
Author: lattner Date: Mon Aug 13 15:08:16 2007 New Revision: 41050 URL: http://llvm.org/viewvc/llvm-project?rev=41050&view=rev Log: move assertion into mutex guard, a partial fix for PR1606. Modified: llvm/trunk/lib/ExecutionEngine/JIT/JIT.cpp Modified: llvm/trunk/lib/ExecutionEngine/JIT/JIT

[llvm-commits] [llvm] r41051 - /llvm/trunk/lib/Transforms/Utils/BreakCriticalEdges.cpp

2007-08-13 Thread Devang Patel
Author: dpatel Date: Mon Aug 13 16:59:17 2007 New Revision: 41051 URL: http://llvm.org/viewvc/llvm-project?rev=41051&view=rev Log: If NewBB dominates DestBB then DestBB is not part of NewBB's dominance frontier. Modified: llvm/trunk/lib/Transforms/Utils/BreakCriticalEdges.cpp Modified: llvm/

[llvm-commits] [llvm] r41052 - in /llvm/trunk: include/llvm/Analysis/Dominators.h lib/VMCore/Dominators.cpp

2007-08-13 Thread Devang Patel
Author: dpatel Date: Mon Aug 13 17:10:29 2007 New Revision: 41052 URL: http://llvm.org/viewvc/llvm-project?rev=41052&view=rev Log: Add methods to erase basic block entry. Modified: llvm/trunk/include/llvm/Analysis/Dominators.h llvm/trunk/lib/VMCore/Dominators.cpp Modified: llvm/trunk/in

[llvm-commits] [llvm] r41053 - /llvm/trunk/lib/Transforms/Scalar/LoopIndexSplit.cpp

2007-08-13 Thread Devang Patel
Author: dpatel Date: Mon Aug 13 17:13:24 2007 New Revision: 41053 URL: http://llvm.org/viewvc/llvm-project?rev=41053&view=rev Log: Preserve dominator info. Modified: llvm/trunk/lib/Transforms/Scalar/LoopIndexSplit.cpp Modified: llvm/trunk/lib/Transforms/Scalar/LoopIndexSplit.cpp URL: http:/

[llvm-commits] [llvm] r41054 - /llvm/trunk/lib/Transforms/Scalar/LoopIndexSplit.cpp

2007-08-13 Thread Devang Patel
Author: dpatel Date: Mon Aug 13 17:22:13 2007 New Revision: 41054 URL: http://llvm.org/viewvc/llvm-project?rev=41054&view=rev Log: Preserve simple analysis. Modified: llvm/trunk/lib/Transforms/Scalar/LoopIndexSplit.cpp Modified: llvm/trunk/lib/Transforms/Scalar/LoopIndexSplit.cpp URL: http:

[llvm-commits] [llvm-gcc-4.2] r41056 - in /llvm-gcc-4.2/trunk/gcc: llvm-convert.cpp llvm-types.cpp

2007-08-13 Thread Lauro Ramos Venancio
Author: laurov Date: Mon Aug 13 17:56:05 2007 New Revision: 41056 URL: http://llvm.org/viewvc/llvm-project?rev=41056&view=rev Log: - Handle the load/store alignment of bitfields. - Fix a bug in TypeConverter::ConvertRECORD. It fixes the consumer-typeset test on ARM. Modified: llvm-gcc-4.2/t

[llvm-commits] [llvm-gcc-4.0] r41057 - in /llvm-gcc-4.0/trunk/gcc: llvm-convert.cpp llvm-types.cpp

2007-08-13 Thread Lauro Ramos Venancio
Author: laurov Date: Mon Aug 13 18:14:28 2007 New Revision: 41057 URL: http://llvm.org/viewvc/llvm-project?rev=41057&view=rev Log: - Handle the load/store alignment of bitfields. - Fix a bug in TypeConverter::ConvertRECORD. It fixes the consumer-typeset test on ARM. Modified: llvm-gcc-4.0/t

[llvm-commits] [test-suite] r41058 - /test-suite/trunk/MultiSource/Applications/spiff/spiff.c

2007-08-13 Thread Lauro Ramos Venancio
Author: laurov Date: Mon Aug 13 18:25:13 2007 New Revision: 41058 URL: http://llvm.org/viewvc/llvm-project?rev=41058&view=rev Log: This test has a lot of mallocs and no free. Reduce the number of iteration to reduce the memory usage. Modified: test-suite/trunk/MultiSource/Applications/spiff

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

2007-08-13 Thread Evan Cheng
Author: evancheng Date: Mon Aug 13 18:27:11 2007 New Revision: 41059 URL: http://llvm.org/viewvc/llvm-project?rev=41059&view=rev Log: Fix a typo pointd out by Maarten ter Huurne. Modified: llvm/trunk/lib/Target/X86/X86ISelLowering.cpp Modified: llvm/trunk/lib/Target/X86/X86ISelLowering.cpp U

[llvm-commits] [llvm] r41060 - in /llvm/trunk: include/llvm/CodeGen/LiveInterval.h include/llvm/CodeGen/LiveIntervalAnalysis.h lib/CodeGen/LiveIntervalAnalysis.cpp lib/CodeGen/RegAllocLinearScan.cpp l

2007-08-13 Thread Evan Cheng
Author: evancheng Date: Mon Aug 13 18:45:17 2007 New Revision: 41060 URL: http://llvm.org/viewvc/llvm-project?rev=41060&view=rev Log: Re-implement trivial rematerialization. This allows def MIs whose live intervals that are coalesced to be rematerialized. Modified: llvm/trunk/include/llvm/Co

[llvm-commits] [llvm] r41061 - in /llvm/trunk/test/CodeGen/X86: 2007-08-09-IllegalX86-64Asm.ll constant-pool-remat-0.ll

2007-08-13 Thread Evan Cheng
Author: evancheng Date: Mon Aug 13 18:54:16 2007 New Revision: 41061 URL: http://llvm.org/viewvc/llvm-project?rev=41061&view=rev Log: Now capable of rematerializing coalesced live intervals. Added: llvm/trunk/test/CodeGen/X86/2007-08-09-IllegalX86-64Asm.ll Modified: llvm/trunk/test/CodeGe

[llvm-commits] [llvm] r41062 - /llvm/trunk/lib/Transforms/Scalar/LoopIndexSplit.cpp

2007-08-13 Thread Devang Patel
Author: dpatel Date: Mon Aug 13 19:15:45 2007 New Revision: 41062 URL: http://llvm.org/viewvc/llvm-project?rev=41062&view=rev Log: StartValue is already calculated. Modified: llvm/trunk/lib/Transforms/Scalar/LoopIndexSplit.cpp Modified: llvm/trunk/lib/Transforms/Scalar/LoopIndexSplit.cpp URL

[llvm-commits] [llvm] r41063 - /llvm/trunk/lib/Transforms/Scalar/LoopIndexSplit.cpp

2007-08-13 Thread Devang Patel
Author: dpatel Date: Mon Aug 13 20:30:57 2007 New Revision: 41063 URL: http://llvm.org/viewvc/llvm-project?rev=41063&view=rev Log: Handle last value assignments. Modified: llvm/trunk/lib/Transforms/Scalar/LoopIndexSplit.cpp Modified: llvm/trunk/lib/Transforms/Scalar/LoopIndexSplit.cpp URL:

[llvm-commits] [llvm] r41064 - in /llvm/trunk/lib/CodeGen: LiveInterval.cpp SimpleRegisterCoalescing.cpp

2007-08-13 Thread Evan Cheng
Author: evancheng Date: Mon Aug 13 20:56:58 2007 New Revision: 41064 URL: http://llvm.org/viewvc/llvm-project?rev=41064&view=rev Log: Kill info update bugs. Modified: llvm/trunk/lib/CodeGen/LiveInterval.cpp llvm/trunk/lib/CodeGen/SimpleRegisterCoalescing.cpp Modified: llvm/trunk/lib/Code

[llvm-commits] [llvm-gcc-4.0] r41065 - /llvm-gcc-4.0/tags/llvm-gcc-1200-07/

2007-08-13 Thread Bill Wendling
Author: void Date: Tue Aug 14 00:29:26 2007 New Revision: 41065 URL: http://llvm.org/viewvc/llvm-project?rev=41065&view=rev Log: Creating llvm-gcc-1200-07 branch Added: llvm-gcc-4.0/tags/llvm-gcc-1200-07/ - copied from r41064, llvm-gcc-4.0/trunk/ ___

[llvm-commits] [llvm] r41066 - /llvm/tags/Apple/llvm-1200-07/

2007-08-13 Thread Bill Wendling
Author: void Date: Tue Aug 14 00:29:33 2007 New Revision: 41066 URL: http://llvm.org/viewvc/llvm-project?rev=41066&view=rev Log: Creating llvm-1200-07 branch Added: llvm/tags/Apple/llvm-1200-07/ - copied from r41065, llvm/trunk/ ___ llvm-comm

[llvm-commits] [llvm] r41067 - /llvm/trunk/lib/CodeGen/VirtRegMap.cpp

2007-08-13 Thread Evan Cheng
Author: evancheng Date: Tue Aug 14 00:42:54 2007 New Revision: 41067 URL: http://llvm.org/viewvc/llvm-project?rev=41067&view=rev Log: If a rematerializable def is not deleted, i.e. it is also spilled, check if the spilled value is available for reuse. Modified: llvm/trunk/lib/CodeGen/VirtRegM

[llvm-commits] [llvm] r41068 - /llvm/trunk/test/CodeGen/X86/2007-08-13-SpillerReuse.ll

2007-08-13 Thread Evan Cheng
Author: evancheng Date: Tue Aug 14 00:51:03 2007 New Revision: 41068 URL: http://llvm.org/viewvc/llvm-project?rev=41068&view=rev Log: Spiller reuse test case. Added: llvm/trunk/test/CodeGen/X86/2007-08-13-SpillerReuse.ll Added: llvm/trunk/test/CodeGen/X86/2007-08-13-SpillerReuse.ll URL: htt

[llvm-commits] inline assembly operand type MEMUSE

2007-08-13 Thread Florian Brandner
hi, i've added a new type of inline assembly operands called MEMUSE, for 'm' constraints that only read from memory. in addition, i created an enum - InlineAsmFlags - of all possible operand types (REGUSE, REGDEF, IMMUSE. MEMUSE, MEMDEF) and two global constants InlineAsmMask and InlineAsmShift t