[llvm-commits] CVS: llvm/test/CodeGen/X86/mingw-alloca.ll

2007-04-17 Thread Anton Korobeynikov
Changes in directory llvm/test/CodeGen/X86: mingw-alloca.ll added (r1.1) --- Log message: Implemented correct stack probing on mingw/cygwin for dynamic alloca's. Also, fixed static case in presence of eax livin. This fixes PR331: http://llvm.org/PR331 PS: Why don't we still have push/pop

[llvm-commits] CVS: llvm/lib/Target/CBackend/CBackend.cpp

2007-04-17 Thread Anton Korobeynikov
Changes in directory llvm/lib/Target/CBackend: CBackend.cpp updated: 1.337 - 1.338 --- Log message: Implemented correct stack probing on mingw/cygwin for dynamic alloca's. Also, fixed static case in presence of eax livin. This fixes PR331: http://llvm.org/PR331 PS: Why don't we still have

[llvm-commits] llvm-gcc: use ConstantInt::getAllOnesValue to get -1

2007-04-17 Thread Duncan Sands
Use ConstantInt::getAllOnesValue to get hold of -1 in CEIL_DIV_EXPR. Ciao, Duncan. Index: gcc.llvm.master/gcc/llvm-convert.cpp === --- gcc.llvm.master.orig/gcc/llvm-convert.cpp 2007-04-17 18:06:16.0 +0200 +++

[llvm-commits] [126244] Use ConstantInt:: getAllOnesValue to get hold of -1 in CEIL_DIV_EXPR.

2007-04-17 Thread clattner
Revision: 126244 Author: clattner Date: 2007-04-17 09:28:45 -0700 (Tue, 17 Apr 2007) Log Message: --- Use ConstantInt::getAllOnesValue to get hold of -1 in CEIL_DIV_EXPR. Patch by Duncan Sands Modified Paths: -- apple-local/branches/llvm/gcc/llvm-convert.cpp

Re: [llvm-commits] CVS: llvm/lib/Target/X86/X86ISelLowering.cpp X86ISelLowering.h X86InstrInfo.td X86RegisterInfo.cpp

2007-04-17 Thread Chris Lattner
Implemented correct stack probing on mingw/cygwin for dynamic alloca's. Also, fixed static case in presence of eax livin. This fixes PR331: http://llvm.org/PR331 Cool :) +SDOperand X86TargetLowering::LowerDYNAMIC_STACKALLOC(SDOperand Op, +

[llvm-commits] CVS: llvm/lib/VMCore/Verifier.cpp

2007-04-17 Thread Chris Lattner
Changes in directory llvm/lib/VMCore: Verifier.cpp updated: 1.202 - 1.203 --- Log message: eliminate a use of Instruction::getPrev(), patch by Gabor Greif in 2005. --- Diffs of the changes: (+2 -1) Verifier.cpp |3 ++- 1 files changed, 2 insertions(+), 1 deletion(-) Index:

[llvm-commits] CVS: llvm/lib/ExecutionEngine/Interpreter/Execution.cpp

2007-04-17 Thread Chris Lattner
Changes in directory llvm/lib/ExecutionEngine/Interpreter: Execution.cpp updated: 1.178 - 1.179 --- Log message: eliminate use of Instruction::getPrev(). Patch by Gabor Greif in 2005. --- Diffs of the changes: (+6 -3) Execution.cpp |9 ++--- 1 files changed, 6 insertions(+), 3

[llvm-commits] CVS: llvm/lib/Transforms/Utils/SimplifyCFG.cpp

2007-04-17 Thread Chris Lattner
Changes in directory llvm/lib/Transforms/Utils: SimplifyCFG.cpp updated: 1.120 - 1.121 --- Log message: remove use of Instruction::getNext --- Diffs of the changes: (+5 -3) SimplifyCFG.cpp |8 +--- 1 files changed, 5 insertions(+), 3 deletions(-) Index:

[llvm-commits] CVS: llvm/lib/Transforms/Instrumentation/RSProfiling.cpp

2007-04-17 Thread Chris Lattner
Changes in directory llvm/lib/Transforms/Instrumentation: RSProfiling.cpp updated: 1.21 - 1.22 --- Log message: eliminate use of Instruction::getNext() --- Diffs of the changes: (+15 -13) RSProfiling.cpp | 28 +++- 1 files changed, 15 insertions(+), 13

[llvm-commits] CVS: llvm/lib/Analysis/LoadValueNumbering.cpp

2007-04-17 Thread Chris Lattner
Changes in directory llvm/lib/Analysis: LoadValueNumbering.cpp updated: 1.38 - 1.39 --- Log message: Remove use of Instruction::getNext --- Diffs of the changes: (+12 -9) LoadValueNumbering.cpp | 21 - 1 files changed, 12 insertions(+), 9 deletions(-) Index:

[llvm-commits] CVS: llvm/lib/Transforms/Instrumentation/RSProfiling.cpp

2007-04-17 Thread Chris Lattner
Changes in directory llvm/lib/Transforms/Instrumentation: RSProfiling.cpp updated: 1.22 - 1.23 --- Log message: remove use of BasicBlock::getNext --- Diffs of the changes: (+4 -3) RSProfiling.cpp |7 --- 1 files changed, 4 insertions(+), 3 deletions(-) Index:

[llvm-commits] CVS: llvm/lib/Target/ARM/README.txt

2007-04-17 Thread Chris Lattner
Changes in directory llvm/lib/Target/ARM: README.txt updated: 1.21 - 1.22 --- Log message: add a note --- Diffs of the changes: (+43 -0) README.txt | 43 +++ 1 files changed, 43 insertions(+) Index: llvm/lib/Target/ARM/README.txt diff -u

[llvm-commits] CVS: llvm/include/llvm/Instruction.h

2007-04-17 Thread Chris Lattner
Changes in directory llvm/include/llvm: Instruction.h updated: 1.84 - 1.85 --- Log message: Instruction:: Next/Prev accessors are now private --- Diffs of the changes: (+8 -7) Instruction.h | 15 --- 1 files changed, 8 insertions(+), 7 deletions(-) Index:

[llvm-commits] CVS: llvm/lib/Transforms/Utils/BreakCriticalEdges.cpp LowerSwitch.cpp

2007-04-17 Thread Chris Lattner
Changes in directory llvm/lib/Transforms/Utils: BreakCriticalEdges.cpp updated: 1.43 - 1.44 LowerSwitch.cpp updated: 1.37 - 1.38 --- Log message: remove use of BasicBlock::getNext --- Diffs of the changes: (+6 -3) BreakCriticalEdges.cpp |3 ++- LowerSwitch.cpp|6 -- 2

[llvm-commits] CVS: llvm/include/llvm/GlobalVariable.h

2007-04-17 Thread Chris Lattner
Changes in directory llvm/include/llvm: GlobalVariable.h updated: 1.42 - 1.43 --- Log message: bool on darwin/ppc is 4 bytes. --- Diffs of the changes: (+2 -2) GlobalVariable.h |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) Index: llvm/include/llvm/GlobalVariable.h diff

[llvm-commits] CVS: llvm/include/llvm/BasicBlock.h

2007-04-17 Thread Chris Lattner
Changes in directory llvm/include/llvm: BasicBlock.h updated: 1.67 - 1.68 --- Log message: make next/prev accessors private --- Diffs of the changes: (+8 -6) BasicBlock.h | 14 -- 1 files changed, 8 insertions(+), 6 deletions(-) Index: llvm/include/llvm/BasicBlock.h diff

[llvm-commits] CVS: llvm/lib/Transforms/Scalar/LICM.cpp

2007-04-17 Thread Dan Gohman
Changes in directory llvm/lib/Transforms/Scalar: LICM.cpp updated: 1.90 - 1.91 --- Log message: Spell doFinalization right, so that it is a proper virtual override and gets called. --- Diffs of the changes: (+1 -1) LICM.cpp |2 +- 1 files changed, 1 insertion(+), 1 deletion(-)

[llvm-commits] CVS: llvm/include/llvm/GlobalVariable.h Function.h

2007-04-17 Thread Chris Lattner
Changes in directory llvm/include/llvm: GlobalVariable.h updated: 1.43 - 1.44 Function.h updated: 1.79 - 1.80 --- Log message: make getnext/getprev accessors private. --- Diffs of the changes: (+15 -15) Function.h | 18 +- GlobalVariable.h | 12 ++-- 2

[llvm-commits] CVS: llvm/include/llvm/ADT/ilist

2007-04-17 Thread Chris Lattner
Changes in directory llvm/include/llvm/ADT: ilist updated: 1.26 - 1.27 --- Log message: Commit an patch from Gabor Greif in Mar 2005. This eliminates the tail pointer from ilist, storing it in the prev pointer of the first node in the list instead. This shrinks ilist from 8 to 4 bytes,

[llvm-commits] CVS: llvm/test/CodeGen/PowerPC/sign_ext_inreg1.ll

2007-04-17 Thread Chris Lattner
Changes in directory llvm/test/CodeGen/PowerPC: sign_ext_inreg1.ll added (r1.1) --- Log message: new testcase --- Diffs of the changes: (+12 -0) sign_ext_inreg1.ll | 12 1 files changed, 12 insertions(+) Index: llvm/test/CodeGen/PowerPC/sign_ext_inreg1.ll diff -c

[llvm-commits] CVS: llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp

2007-04-17 Thread Chris Lattner
Changes in directory llvm/lib/CodeGen/SelectionDAG: DAGCombiner.cpp updated: 1.290 - 1.291 --- Log message: SIGN_EXTEND_INREG does not demand its top bits. Give SimplifyDemandedBits a chance to hack on it. This compiles: int baz(long long a) { return (short)(((int)(a 24)) 9); } into:

[llvm-commits] CVS: llvm/lib/Target/X86/X86ISelLowering.cpp

2007-04-17 Thread Anton Korobeynikov
Changes in directory llvm/lib/Target/X86: X86ISelLowering.cpp updated: 1.392 - 1.393 --- Log message: Add comment --- Diffs of the changes: (+9 -0) X86ISelLowering.cpp |9 + 1 files changed, 9 insertions(+) Index: llvm/lib/Target/X86/X86ISelLowering.cpp diff -u

Re: [llvm-commits] CVS: llvm/lib/Target/X86/X86ISelLowering.cpp

2007-04-17 Thread Chris Lattner
Thanks Anton! On Apr 17, 2007, at 12:34 PM, Anton Korobeynikov wrote: Changes in directory llvm/lib/Target/X86: X86ISelLowering.cpp updated: 1.392 - 1.393 --- Log message: Add comment --- Diffs of the changes: (+9 -0) X86ISelLowering.cpp |9 + 1 files changed, 9

[llvm-commits] CVS: llvm/include/llvm/CodeGen/LiveVariables.h

2007-04-17 Thread Evan Cheng
Changes in directory llvm/include/llvm/CodeGen: LiveVariables.h updated: 1.36 - 1.37 --- Log message: Keep track of number of uses within the function per virtual register. --- Diffs of the changes: (+5 -1) LiveVariables.h |6 +- 1 files changed, 5 insertions(+), 1 deletion(-)

[llvm-commits] CVS: llvm/lib/CodeGen/LiveVariables.cpp

2007-04-17 Thread Evan Cheng
Changes in directory llvm/lib/CodeGen: LiveVariables.cpp updated: 1.71 - 1.72 --- Log message: Keep track of number of uses within the function per virtual register. --- Diffs of the changes: (+1 -0) LiveVariables.cpp |1 + 1 files changed, 1 insertion(+) Index:

[llvm-commits] CVS: llvm/lib/Target/MRegisterInfo.cpp

2007-04-17 Thread Evan Cheng
Changes in directory llvm/lib/Target: MRegisterInfo.cpp updated: 1.22 - 1.23 --- Log message: Change getAllocatableSet() so it returns allocatable registers for a specific register class. --- Diffs of the changes: (+7 -4) MRegisterInfo.cpp | 11 +++ 1 files changed, 7

[llvm-commits] CVS: llvm/include/llvm/Target/MRegisterInfo.h

2007-04-17 Thread Evan Cheng
Changes in directory llvm/include/llvm/Target: MRegisterInfo.h updated: 1.102 - 1.103 --- Log message: Change getAllocatableSet() so it returns allocatable registers for a specific register class. --- Diffs of the changes: (+4 -2) MRegisterInfo.h |6 -- 1 files changed, 4

[llvm-commits] CVS: llvm/include/llvm/CodeGen/LiveInterval.h

2007-04-17 Thread Evan Cheng
Changes in directory llvm/include/llvm/CodeGen: LiveInterval.h updated: 1.35 - 1.36 --- Log message: Add a register allocation preference field; add a method to compute size of a live interval. --- Diffs of the changes: (+6 -1) LiveInterval.h |7 ++- 1 files changed, 6

[llvm-commits] CVS: llvm/lib/CodeGen/LiveInterval.cpp

2007-04-17 Thread Evan Cheng
Changes in directory llvm/lib/CodeGen: LiveInterval.cpp updated: 1.43 - 1.44 --- Log message: Add a register allocation preference field; add a method to compute size of a live interval. --- Diffs of the changes: (+9 -0) LiveInterval.cpp |9 + 1 files changed, 9 insertions(+)

[llvm-commits] llvm-gcc: fix for PR1332

2007-04-17 Thread Duncan Sands
The testcase: struct Z { int :1; int :0; int :1; } z; The zero width field causes the second :1 field to start at bit 32. This requires inserting 24 bits of padding. For some obscure reason the padding logic subtracts the number of bits of padding from the new field size before adding it,

[llvm-commits] CVS: llvm/test/CFrontend/2007-04-17-ZeroSizeBitFields.c

2007-04-17 Thread Devang Patel
Changes in directory llvm/test/CFrontend: 2007-04-17-ZeroSizeBitFields.c added (r1.1) --- Log message: New test case. --- Diffs of the changes: (+4 -0) 2007-04-17-ZeroSizeBitFields.c |4 1 files changed, 4 insertions(+) Index: llvm/test/CFrontend/2007-04-17-ZeroSizeBitFields.c

[llvm-commits] [126245] Fix http://lists.cs.uiuc.edu/pipermail/llvm-commits/ Week-of-Mon-20070416/047943.html

2007-04-17 Thread dpatel
Revision: 126245 Author: dpatel Date: 2007-04-17 13:29:12 -0700 (Tue, 17 Apr 2007) Log Message: --- Fix http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20070416/047943.html Modified Paths: -- apple-local/branches/llvm/gcc/llvm-types.cpp Modified:

[llvm-commits] CVS: llvm/lib/CodeGen/LiveIntervalAnalysis.cpp RegAllocLinearScan.cpp

2007-04-17 Thread Evan Cheng
Changes in directory llvm/lib/CodeGen: LiveIntervalAnalysis.cpp updated: 1.234 - 1.235 RegAllocLinearScan.cpp updated: 1.142 - 1.143 --- Log message: Copy coalescing change to prevent a physical register from being pin to a long live interval that has low usage density. 1. Change order of

[llvm-commits] CVS: llvm/include/llvm/CodeGen/LiveIntervalAnalysis.h

2007-04-17 Thread Evan Cheng
Changes in directory llvm/include/llvm/CodeGen: LiveIntervalAnalysis.h updated: 1.77 - 1.78 --- Log message: Copy coalescing change to prevent a physical register from being pin to a long live interval that has low usage density. 1. Change order of coalescing to join physical registers with

Re: [llvm-commits] llvm-gcc: fix for PR1332

2007-04-17 Thread Devang Patel
On Apr 17, 2007, at 1:29 PM, Duncan Sands wrote: The testcase: struct Z { int :1; int :0; int :1; } z; The zero width field causes the second :1 field to start at bit 32. This requires inserting 24 bits of padding. For some obscure reason the padding logic subtracts the number of bits of

Re: [llvm-commits] [126245] Fix http://lists.cs.uiuc.edu/pipermail/llvm-commits/ Week-of-Mon-20070416/047943.html

2007-04-17 Thread Duncan Sands
Hi Devang, I just posted a fix which fixes some other issues too. A few lines earlier: if (StartOffsetFromByteBoundry != 0) { // New field does not start at byte boundry. PadBits = StartOffsetInBits - (FirstUnallocatedByte*8); PadBytes = PadBits/8 + 1; } PadBytes +=

[llvm-commits] CVS: llvm/test/CFrontend/2007-04-17-ZeroSizeBitFields.c

2007-04-17 Thread Duncan Sands
Changes in directory llvm/test/CFrontend: 2007-04-17-ZeroSizeBitFields.c updated: 1.1 - 1.2 --- Log message: Use // not ; since this is C. --- Diffs of the changes: (+2 -2) 2007-04-17-ZeroSizeBitFields.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) Index:

Re: [llvm-commits] [126245] Fix http://lists.cs.uiuc.edu/pipermail/llvm-commits/ Week-of-Mon-20070416/047943.html

2007-04-17 Thread Devang Patel
Hi, if (StartOffsetInBits FirstUnallocatedByte*8) is true then (StartOffsetFromByteBoundry == 0) is always true. If so, we could simply this even further. In other words, if we need pad bytes for a new field then it always starts at byte boundary. Can you think of

[llvm-commits] CVS: llvm/test/CodeGen/PowerPC/shl_elim.ll

2007-04-17 Thread Chris Lattner
Changes in directory llvm/test/CodeGen/PowerPC: shl_elim.ll added (r1.1) --- Log message: new testcase --- Diffs of the changes: (+11 -0) shl_elim.ll | 11 +++ 1 files changed, 11 insertions(+) Index: llvm/test/CodeGen/PowerPC/shl_elim.ll diff -c /dev/null

[llvm-commits] CVS: llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp

2007-04-17 Thread Chris Lattner
Changes in directory llvm/lib/CodeGen/SelectionDAG: TargetLowering.cpp updated: 1.109 - 1.110 --- Log message: Fold (x c1) c2 into a single shift if the bits shifted out aren't used. This compiles: int baz(long long a) { return (short)(((int)(a 24)) 9); } into: _baz: srwi r2, r3, 1

[llvm-commits] CVS: llvm-www/DevMtgMay2007.html

2007-04-17 Thread Reid Spencer
Changes in directory llvm-www: DevMtgMay2007.html updated: 1.110 - 1.111 --- Log message: Add Calum Wilkie. --- Diffs of the changes: (+4 -3) DevMtgMay2007.html |7 --- 1 files changed, 4 insertions(+), 3 deletions(-) Index: llvm-www/DevMtgMay2007.html diff -u

[llvm-commits] [126246] If all struct bitfields are packed then struct is packed.

2007-04-17 Thread dpatel
Revision: 126246 Author: dpatel Date: 2007-04-17 14:59:37 -0700 (Tue, 17 Apr 2007) Log Message: --- If all struct bitfields are packed then struct is packed. This fixes recent SingleSource 2003-05-21-BitFieldHandling.c regression. Modified Paths: --

Re: [llvm-commits] CVS: llvm/lib/Target/MRegisterInfo.cpp

2007-04-17 Thread Chris Lattner
MRegisterInfo::~MRegisterInfo() {} -BitVector MRegisterInfo::getAllocatableSet(MachineFunction MF) const { +BitVector MRegisterInfo::getAllocatableSet(MachineFunction MF, + const TargetRegisterClass *RC) const { BitVector

[llvm-commits] CVS: llvm/lib/Target/ARM/ARMInstrInfo.td

2007-04-17 Thread Chris Lattner
Changes in directory llvm/lib/Target/ARM: ARMInstrInfo.td updated: 1.95 - 1.96 --- Log message: dag combiner just got better at pruning bits. This fixes CodeGen/ARM/rev.ll --- Diffs of the changes: (+1 -1) ARMInstrInfo.td |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index:

[llvm-commits] CVS: llvm-test/SingleSource/UnitTests/Integer/bit_concat.c bit_concat_cpp.cpp bit_concat_cpp.reference_output bit_concat.reference_output

2007-04-17 Thread Reid Spencer
Changes in directory llvm-test/SingleSource/UnitTests/Integer: bit_concat.c updated: 1.2 - 1.3 bit_concat_cpp.cpp updated: 1.1 - 1.2 bit_concat_cpp.reference_output updated: 1.1 - 1.2 bit_concat.reference_output updated: 1.2 - 1.3 --- Log message: Revise this test to use the new header file

[llvm-commits] CVS: llvm-test/SingleSource/UnitTests/Integer/bit_select.c

2007-04-17 Thread Reid Spencer
Changes in directory llvm-test/SingleSource/UnitTests/Integer: bit_select.c updated: 1.2 - 1.3 --- Log message: Update to use bits.h --- Diffs of the changes: (+5 -6) bit_select.c | 11 +-- 1 files changed, 5 insertions(+), 6 deletions(-) Index:

[llvm-commits] CVS: llvm/lib/Target/MRegisterInfo.cpp

2007-04-17 Thread Evan Cheng
Changes in directory llvm/lib/Target: MRegisterInfo.cpp updated: 1.23 - 1.24 --- Log message: Oops. Didn't mean to check in a quick hack. --- Diffs of the changes: (+16 -8) MRegisterInfo.cpp | 24 1 files changed, 16 insertions(+), 8 deletions(-) Index:

[llvm-commits] CVS: llvm-poolalloc/lib/PoolAllocate/TransformFunctionBody.cpp

2007-04-17 Thread Andrew Lenharth
Changes in directory llvm-poolalloc/lib/PoolAllocate: TransformFunctionBody.cpp updated: 1.62 - 1.63 --- Log message: Fix --- Diffs of the changes: (+1 -1) TransformFunctionBody.cpp |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index:

[llvm-commits] CVS: llvm-poolalloc/lib/DSA/BottomUpClosure.cpp CallTargets.cpp DataStructure.cpp DataStructureAA.cpp DataStructureOpt.cpp DataStructureStats.cpp GraphChecker.cpp Local.cpp Printer.cpp

2007-04-17 Thread Andrew Lenharth
Changes in directory llvm-poolalloc/lib/DSA: BottomUpClosure.cpp updated: 1.131 - 1.132 CallTargets.cpp updated: 1.11 - 1.12 DataStructure.cpp updated: 1.260 - 1.261 DataStructureAA.cpp updated: 1.42 - 1.43 DataStructureOpt.cpp updated: 1.18 - 1.19 DataStructureStats.cpp updated: 1.27 - 1.28

[llvm-commits] CVS: llvm/test/CodeGen/Generic/2007-04-17-lsr-crash.ll

2007-04-17 Thread Chris Lattner
Changes in directory llvm/test/CodeGen/Generic: 2007-04-17-lsr-crash.ll added (r1.1) --- Log message: new testcase --- Diffs of the changes: (+35 -0) 2007-04-17-lsr-crash.ll | 35 +++ 1 files changed, 35 insertions(+) Index:

[llvm-commits] CVS: llvm/lib/Analysis/ScalarEvolutionExpander.cpp

2007-04-17 Thread Chris Lattner
Changes in directory llvm/lib/Analysis: ScalarEvolutionExpander.cpp updated: 1.16 - 1.17 --- Log message: Be more careful when inserting reused instructions. This fixes CodeGen/Generic/2007-04-17-lsr-crash.ll --- Diffs of the changes: (+7 -2) ScalarEvolutionExpander.cpp |9 +++--

Re: [llvm-commits] CVS: llvm-poolalloc/lib/PoolAllocate/TransformFunctionBody.cpp

2007-04-17 Thread Chris Lattner
@@ -654,7 +654,7 @@ Value *Align = ConstantInt::get(Type::Int32Ty,0); Value* Opts[3] = {ArgVal, ElSize, Align}; new CallInst(PAInfo.PoolInit, Opts, 3,, TheCall); - new CallInst(PAInfo.PoolDestroy, ArgVal, , TheCall-getNext ()); + new

[llvm-commits] CVS: llvm-poolalloc/lib/PoolAllocate/TransformFunctionBody.cpp

2007-04-17 Thread Andrew Lenharth
Changes in directory llvm-poolalloc/lib/PoolAllocate: TransformFunctionBody.cpp updated: 1.63 - 1.64 --- Log message: This is really really ugly --- Diffs of the changes: (+2 -1) TransformFunctionBody.cpp |3 ++- 1 files changed, 2 insertions(+), 1 deletion(-) Index:

[llvm-commits] CVS: llvm/lib/CodeGen/PHIElimination.cpp

2007-04-17 Thread Evan Cheng
Changes in directory llvm/lib/CodeGen: PHIElimination.cpp updated: 1.55 - 1.56 --- Log message: Increment use count of new virtuals created during PHI elimination. --- Diffs of the changes: (+3 -0) PHIElimination.cpp |3 +++ 1 files changed, 3 insertions(+) Index:

[llvm-commits] CVS: llvm/include/llvm/Analysis/ScalarEvolutionExpander.h

2007-04-17 Thread Chris Lattner
Changes in directory llvm/include/llvm/Analysis: ScalarEvolutionExpander.h updated: 1.14 - 1.15 --- Log message: what's an between friends? --- Diffs of the changes: (+1 -1) ScalarEvolutionExpander.h |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index:

[llvm-commits] CVS: llvm/test/Analysis/Dominators/2007-04-17-PostDominanceFrontier.ll

2007-04-17 Thread Devang Patel
Changes in directory llvm/test/Analysis/Dominators: 2007-04-17-PostDominanceFrontier.ll added (r1.1) --- Log message: New test. --- Diffs of the changes: (+692 -0) 2007-04-17-PostDominanceFrontier.ll | 692 1 files changed, 692 insertions(+) Index:

[llvm-commits] CVS: llvm/lib/Analysis/PostDominators.cpp

2007-04-17 Thread Devang Patel
Changes in directory llvm/lib/Analysis: PostDominators.cpp updated: 1.65 - 1.66 --- Log message: Fix http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20070416/047971.html --- Diffs of the changes: (+1 -1) PostDominators.cpp |2 +- 1 files changed, 1 insertion(+), 1

[llvm-commits] CVS: llvm-test/SingleSource/UnitTests/Integer/bit_set.c bit_set.reference_output bit_set_cpp.cpp bit_set_cpp.reference_output constval.cpp constval.reference_output arith.c array.c bigi

2007-04-17 Thread Reid Spencer
Changes in directory llvm-test/SingleSource/UnitTests/Integer: bit_set.c added (r1.1) bit_set.reference_output added (r1.1) bit_set_cpp.cpp added (r1.1) bit_set_cpp.reference_output added (r1.1) constval.cpp added (r1.1) constval.reference_output added (r1.1) arith.c updated: 1.8 - 1.9 array.c

[llvm-commits] CVS: llvm/lib/VMCore/AsmWriter.cpp

2007-04-17 Thread Chris Lattner
Changes in directory llvm/lib/VMCore: AsmWriter.cpp updated: 1.269 - 1.270 --- Log message: don't access argument list of prototypes --- Diffs of the changes: (+24 -7) AsmWriter.cpp | 31 --- 1 files changed, 24 insertions(+), 7 deletions(-) Index:

[llvm-commits] CVS: llvm/lib/Analysis/PostDominators.cpp

2007-04-17 Thread Devang Patel
Changes in directory llvm/lib/Analysis: PostDominators.cpp updated: 1.66 - 1.67 --- Log message: Cache DT[*SI] lookup. --- Diffs of the changes: (+4 -2) PostDominators.cpp |6 -- 1 files changed, 4 insertions(+), 2 deletions(-) Index: llvm/lib/Analysis/PostDominators.cpp diff -u

[llvm-commits] CVS: llvm/lib/CodeGen/LiveIntervalAnalysis.cpp

2007-04-17 Thread Evan Cheng
Changes in directory llvm/lib/CodeGen: LiveIntervalAnalysis.cpp updated: 1.235 - 1.236 --- Log message: Don't populate TryAgainList when coalescing only physical registers with virtual registers. --- Diffs of the changes: (+6 -6) LiveIntervalAnalysis.cpp | 12 ++-- 1 files

[llvm-commits] CVS: llvm/include/llvm/CodeGen/LiveIntervalAnalysis.h

2007-04-17 Thread Evan Cheng
Changes in directory llvm/include/llvm/CodeGen: LiveIntervalAnalysis.h updated: 1.78 - 1.79 --- Log message: Don't populate TryAgainList when coalescing only physical registers with virtual registers. --- Diffs of the changes: (+1 -1) LiveIntervalAnalysis.h |2 +- 1 files changed, 1

[llvm-commits] CVS: llvm/test/CodeGen/X86/2007-04-17-LiveIntervalAssert.ll

2007-04-17 Thread Evan Cheng
Changes in directory llvm/test/CodeGen/X86: 2007-04-17-LiveIntervalAssert.ll added (r1.1) --- Log message: New crasher test case. --- Diffs of the changes: (+42 -0) 2007-04-17-LiveIntervalAssert.ll | 42 +++ 1 files changed, 42 insertions(+) Index:

[llvm-commits] CVS: llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp

2007-04-17 Thread Chris Lattner
Changes in directory llvm/lib/CodeGen/SelectionDAG: TargetLowering.cpp updated: 1.111 - 1.112 --- Log message: fix a pasto --- Diffs of the changes: (+1 -1) TargetLowering.cpp |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index:

[llvm-commits] CVS: llvm/test/CodeGen/X86/shl_elim.ll

2007-04-17 Thread Chris Lattner
Changes in directory llvm/test/CodeGen/X86: shl_elim.ll added (r1.1) --- Log message: new testcase --- Diffs of the changes: (+13 -0) shl_elim.ll | 13 + 1 files changed, 13 insertions(+) Index: llvm/test/CodeGen/X86/shl_elim.ll diff -c /dev/null

[llvm-commits] CVS: llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp

2007-04-17 Thread Chris Lattner
Changes in directory llvm/lib/CodeGen/SelectionDAG: DAGCombiner.cpp updated: 1.291 - 1.292 --- Log message: When replacing a node in SimplifyDemandedBits, if the old node used any single-use nodes, they will be dead soon. Make sure to remove them before processing other nodes. This

[llvm-commits] CVS: llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp

2007-04-17 Thread Chris Lattner
Changes in directory llvm/lib/CodeGen/SelectionDAG: DAGCombiner.cpp updated: 1.292 - 1.293 --- Log message: allow SRL to simplify its operands, as it doesn't demand all bits as input. --- Diffs of the changes: (+7 -1) DAGCombiner.cpp |8 +++- 1 files changed, 7 insertions(+), 1

[llvm-commits] CVS: llvm/include/llvm/Analysis/Dominators.h

2007-04-17 Thread Owen Anderson
Changes in directory llvm/include/llvm/Analysis: Dominators.h updated: 1.72 - 1.73 --- Log message: Add an accessor to make ETForest more useful. --- Diffs of the changes: (+7 -0) Dominators.h |7 +++ 1 files changed, 7 insertions(+) Index:

[llvm-commits] CVS: llvm/lib/Transforms/Utils/LCSSA.cpp

2007-04-17 Thread Owen Anderson
Changes in directory llvm/lib/Transforms/Utils: LCSSA.cpp updated: 1.36 - 1.37 --- Log message: Use ETForest instead of DominatorTree. --- Diffs of the changes: (+18 -21) LCSSA.cpp | 39 ++- 1 files changed, 18 insertions(+), 21 deletions(-) Index:

[llvm-commits] CVS: llvm/lib/Transforms/Utils/CodeExtractor.cpp

2007-04-17 Thread Owen Anderson
Changes in directory llvm/lib/Transforms/Utils: CodeExtractor.cpp updated: 1.53 - 1.54 --- Log message: Use new ETForest accessor. --- Diffs of the changes: (+4 -4) CodeExtractor.cpp |8 1 files changed, 4 insertions(+), 4 deletions(-) Index:

[llvm-commits] CVS: llvm/lib/Transforms/Scalar/ADCE.cpp

2007-04-17 Thread Owen Anderson
Changes in directory llvm/lib/Transforms/Scalar: ADCE.cpp updated: 1.104 - 1.105 --- Log message: Use ETForest instead of DominatorTree. --- Diffs of the changes: (+15 -19) ADCE.cpp | 34 +++--- 1 files changed, 15 insertions(+), 19 deletions(-) Index:

[llvm-commits] CVS: llvm/include/llvm/CodeGen/LiveVariables.h

2007-04-17 Thread Evan Cheng
Changes in directory llvm/include/llvm/CodeGen: LiveVariables.h updated: 1.37 - 1.38 --- Log message: VarInfo::UsedBlocks is no longer used. Remove. --- Diffs of the changes: (+0 -4) LiveVariables.h |4 1 files changed, 4 deletions(-) Index:

[llvm-commits] CVS: llvm/lib/CodeGen/LiveIntervalAnalysis.cpp LiveVariables.cpp PHIElimination.cpp TwoAddressInstructionPass.cpp

2007-04-17 Thread Evan Cheng
Changes in directory llvm/lib/CodeGen: LiveIntervalAnalysis.cpp updated: 1.236 - 1.237 LiveVariables.cpp updated: 1.72 - 1.73 PHIElimination.cpp updated: 1.56 - 1.57 TwoAddressInstructionPass.cpp updated: 1.46 - 1.47 --- Log message: VarInfo::UsedBlocks is no longer used. Remove. --- Diffs of

[llvm-commits] CVS: llvm/include/llvm/Analysis/Dominators.h ET-Forest.h

2007-04-17 Thread Owen Anderson
Changes in directory llvm/include/llvm/Analysis: Dominators.h updated: 1.73 - 1.74 ET-Forest.h updated: 1.9 - 1.10 --- Log message: Add accessor to get the blocks immediately dominated by a given block to ETForest. --- Diffs of the changes: (+22 -0) Dominators.h | 14 ++

[llvm-commits] CVS: llvm/lib/Transforms/Scalar/CorrelatedExprs.cpp

2007-04-17 Thread Owen Anderson
Changes in directory llvm/lib/Transforms/Scalar: CorrelatedExprs.cpp updated: 1.56 - 1.57 --- Log message: Use ETForest instead of DominatorTree. --- Diffs of the changes: (+11 -11) CorrelatedExprs.cpp | 22 +++--- 1 files changed, 11 insertions(+), 11 deletions(-)

[llvm-commits] CVS: llvm-test/SingleSource/UnitTests/Integer/bigint.c bigint.reference_output

2007-04-17 Thread Reid Spencer
Changes in directory llvm-test/SingleSource/UnitTests/Integer: bigint.c updated: 1.7 - 1.8 bigint.reference_output updated: 1.1 - 1.2 --- Log message: Try bigger integer bit widths. --- Diffs of the changes: (+3 -3) bigint.c|2 +- bigint.reference_output |4 ++-- 2

[llvm-commits] CVS: llvm/lib/Transforms/Scalar/LICM.cpp

2007-04-17 Thread Owen Anderson
Changes in directory llvm/lib/Transforms/Scalar: LICM.cpp updated: 1.91 - 1.92 --- Log message: Switch more uses of DominatorTree over to ETForest. --- Diffs of the changes: (+24 -22) LICM.cpp | 46 -- 1 files changed, 24 insertions(+), 22