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

2007-03-19 Thread Evan Cheng
Changes in directory llvm/lib/Target/ARM: ARMInstrInfo.td updated: 1.88 - 1.89 ARMInstrThumb.td updated: 1.14 - 1.15 --- Log message: Constant generation instructions are re-materializable. --- Diffs of the changes: (+11 -5) ARMInstrInfo.td | 15 ++- ARMInstrThumb.td |1

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

2007-03-19 Thread Evan Cheng
Changes in directory llvm/lib/Target/ARM: ARMISelDAGToDAG.cpp updated: 1.108 - 1.109 ARMInstrInfo.td updated: 1.89 - 1.90 ARMInstrThumb.td updated: 1.15 - 1.16 --- Log message: Special LDR instructions to load from non-pc-relative constantpools. These are rematerializable. Only used for

[llvm-commits] CVS: llvm/lib/Target/ARM/ARMISelDAGToDAG.cpp ARMISelLowering.cpp ARMInstrInfo.cpp ARMInstrInfo.td ARMInstrThumb.td ARMRegisterInfo.cpp

2007-03-19 Thread Evan Cheng
Changes in directory llvm/lib/Target/ARM: ARMISelDAGToDAG.cpp updated: 1.109 - 1.110 ARMISelLowering.cpp updated: 1.24 - 1.25 ARMInstrInfo.cpp updated: 1.16 - 1.17 ARMInstrInfo.td updated: 1.90 - 1.91 ARMInstrThumb.td updated: 1.16 - 1.17 ARMRegisterInfo.cpp updated: 1.82 - 1.83 --- Log

Re: [llvm-commits] CVS: llvm/include/llvm/ADT/APInt.h

2007-03-19 Thread Duncan Sands
Add isStrictPositive() to APInt to determine if this APInt Value 0. Shouldn't this be isStrictlyPositive? Duncan. ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits

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

2007-03-19 Thread Duncan Sands
Changes in directory llvm/include/llvm/Target: TargetData.h updated: 1.58 - 1.59 --- Log message: Fix obvious typo in comment. --- Diffs of the changes: (+1 -1) TargetData.h |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm/include/llvm/Target/TargetData.h diff -u

Re: [llvm-commits] CVS: llvm/include/llvm/ADT/APInt.h

2007-03-19 Thread Reid Spencer
On Mon, 2007-03-19 at 10:11 +0100, Duncan Sands wrote: Add isStrictPositive() to APInt to determine if this APInt Value 0. Shouldn't this be isStrictlyPositive? Yes, it Should. Sheng, please correct the name of this function as Duncan suggested. Thanks, Reid. Duncan.

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

2007-03-19 Thread Evan Cheng
Changes in directory llvm/lib/CodeGen: LiveIntervalAnalysis.cpp updated: 1.224 - 1.225 --- Log message: Remove -reduce-joining-phys-regs options. Make it on by default. --- Diffs of the changes: (+1 -3) LiveIntervalAnalysis.cpp |4 +--- 1 files changed, 1 insertion(+), 3 deletions(-)

[llvm-commits] CVS: llvm/test/BugPoint/crash-basictest.ll crash-narrowfunctiontest.ll remove_arguments_test.ll

2007-03-19 Thread Reid Spencer
Changes in directory llvm/test/BugPoint: crash-basictest.ll updated: 1.2 - 1.3 crash-narrowfunctiontest.ll updated: 1.2 - 1.3 remove_arguments_test.ll updated: 1.2 - 1.3 --- Log message: Don't upgrade these. --- Diffs of the changes: (+18 -20) crash-basictest.ll |9 -

[llvm-commits] CVS: llvm/test/CFrontend/2005-06-15-ExpandGotoInternalProblem.c

2007-03-19 Thread Reid Spencer
Changes in directory llvm/test/CFrontend: 2005-06-15-ExpandGotoInternalProblem.c updated: 1.1 - 1.2 --- Log message: Use opt instead of gccas. --- Diffs of the changes: (+2 -1) 2005-06-15-ExpandGotoInternalProblem.c |3 ++- 1 files changed, 2 insertions(+), 1 deletion(-) Index:

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

2007-03-19 Thread Chris Lattner
Changes in directory llvm/lib/Transforms/Scalar: ScalarReplAggregates.cpp updated: 1.79 - 1.80 --- Log message: fix ScalarRepl/2007-03-19-CanonicalizeMemcpy.ll --- Diffs of the changes: (+2 -1) ScalarReplAggregates.cpp |3 ++- 1 files changed, 2 insertions(+), 1 deletion(-) Index:

[llvm-commits] CVS: llvm/test/CodeGen/X86/2007-03-01-SpillerCrash.ll

2007-03-19 Thread Reid Spencer
Changes in directory llvm/test/CodeGen/X86: 2007-03-01-SpillerCrash.ll updated: 1.1 - 1.2 --- Log message: For PR1258: http://llvm.org/PR1258 : Revise numeric value references to accommodate collapsed type planes. --- Diffs of the changes: (+56 -56) 2007-03-01-SpillerCrash.ll | 112

[llvm-commits] CVS: llvm/test/CodeGen/ARM/2007-03-07-CombinerCrash.ll

2007-03-19 Thread Reid Spencer
Changes in directory llvm/test/CodeGen/ARM: 2007-03-07-CombinerCrash.ll updated: 1.1 - 1.2 --- Log message: For PR1258: http://llvm.org/PR1258 : Revise numeric value references to accommodate collapsed type planes. --- Diffs of the changes: (+12 -12) 2007-03-07-CombinerCrash.ll | 24

[llvm-commits] CVS: llvm/test/Transforms/ADCE/2002-01-31-UseStuckAround.ll

2007-03-19 Thread Reid Spencer
Changes in directory llvm/test/Transforms/ADCE: 2002-01-31-UseStuckAround.ll updated: 1.3 - 1.4 --- Log message: For PR1258: http://llvm.org/PR1258 : Revise numeric value references to accommodate collapsed type planes. --- Diffs of the changes: (+5 -5) 2002-01-31-UseStuckAround.ll | 10

[llvm-commits] CVS: llvm/test/Integer/basictest_bt.ll constexpr_bt.ll constpointer_bt.ll indirectcall_bt.ll testvarargs_bt.ll

2007-03-19 Thread Reid Spencer
Changes in directory llvm/test/Integer: basictest_bt.ll updated: 1.2 - 1.3 constexpr_bt.ll updated: 1.3 - 1.4 constpointer_bt.ll updated: 1.2 - 1.3 indirectcall_bt.ll updated: 1.3 - 1.4 testvarargs_bt.ll updated: 1.2 - 1.3 --- Log message: For PR1258: http://llvm.org/PR1258 : Revise numeric

[llvm-commits] CVS: llvm/test/Transforms/ScalarRepl/2007-03-19-CanonicalizeMemcpy.ll

2007-03-19 Thread Chris Lattner
Changes in directory llvm/test/Transforms/ScalarRepl: 2007-03-19-CanonicalizeMemcpy.ll added (r1.1) --- Log message: add a testcase the resent patches fail on. --- Diffs of the changes: (+45 -0) 2007-03-19-CanonicalizeMemcpy.ll | 45 +++ 1 files

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

2007-03-19 Thread Reid Spencer
Changes in directory llvm/lib/VMCore: AsmWriter.cpp updated: 1.263 - 1.264 --- Log message: For PR1258: http://llvm.org/PR1258 : Radically simplify the SlotMachine. There is no need to keep Value planes around any more. This change causes slot numbering to number all un-named, non-void values

[llvm-commits] CVS: llvm/lib/AsmParser/ParserInternals.h

2007-03-19 Thread Reid Spencer
Changes in directory llvm/lib/AsmParser: ParserInternals.h updated: 1.53 - 1.54 --- Log message: Add and Operator== method to ValID so equality can be done properly for named or numbered ValIDs. --- Diffs of the changes: (+20 -0) ParserInternals.h | 20 1 files

[llvm-commits] CVS: llvm/lib/AsmParser/llvmAsmParser.y

2007-03-19 Thread Reid Spencer
Changes in directory llvm/lib/AsmParser: llvmAsmParser.y updated: 1.327 - 1.328 --- Log message: For PR1248: http://llvm.org/PR1248 : Eliminate support for type planes in numbered values. This simplifies the data structures involved in managing forward definitions, etc. Instead of requiring

[llvm-commits] CVS: llvm/test/Assembler/2007-03-18-InvalidNumberedVar.ll

2007-03-19 Thread Reid Spencer
Changes in directory llvm/test/Assembler: 2007-03-18-InvalidNumberedVar.ll added (r1.1) --- Log message: For PR1258: http://llvm.org/PR1258 : Test that invalid numbered value references get an error message. --- Diffs of the changes: (+9 -0) 2007-03-18-InvalidNumberedVar.ll |9

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

2007-03-19 Thread Chris Lattner
On Mar 19, 2007, at 11:33 AM, Reid Spencer wrote: For PR1258: http://llvm.org/PR1258 : Radically simplify the SlotMachine. There is no need to keep Value planes around any more. This change causes slot numbering to number all un- named, non-void values starting at 0 and incrementing

[llvm-commits] [125159] Fix arry ref size calculation.

2007-03-19 Thread dpatel
Revision: 125159 Author: dpatel Date: 2007-03-19 12:06:59 -0700 (Mon, 19 Mar 2007) Log Message: --- Fix arry ref size calculation. Patch by Duncan Sands. Modified Paths: -- apple-local/branches/llvm/gcc/llvm-convert.cpp Modified:

Re: [llvm-commits] llvm-gcc: use array_ref_element_size when emitting an ARRAY_REF

2007-03-19 Thread Devang Patel
On Mar 9, 2007, at 1:56 AM, Duncan Sands wrote: The array element type doesn't always have a known size, which is why the ARRAY_REF supplies the size, extractable with array_ref_element_size. Fix and Ada testcase attached. Ciao, Applied. - Devang

[llvm-commits] CVS: llvm/lib/System/Win32/Program.inc

2007-03-19 Thread Anton Korobeynikov
Changes in directory llvm/lib/System/Win32: Program.inc updated: 1.22 - 1.23 --- Log message: Fix mingw32 build --- Diffs of the changes: (+1 -0) Program.inc |1 + 1 files changed, 1 insertion(+) Index: llvm/lib/System/Win32/Program.inc diff -u llvm/lib/System/Win32/Program.inc:1.22

[llvm-commits] CVS: llvm/test/Assembler/2007-03-19-NegValue.ll

2007-03-19 Thread Reid Spencer
Changes in directory llvm/test/Assembler: 2007-03-19-NegValue.ll added (r1.1) --- Log message: Test case noticed by Sheng that fails because negative values that are greater than 64-bits don't have the sign bits extended on construction of the APInt. --- Diffs of the changes: (+7 -0)

[llvm-commits] CVS: llvm/include/llvm/ADT/APInt.h

2007-03-19 Thread Reid Spencer
Changes in directory llvm/include/llvm/ADT: APInt.h updated: 1.43 - 1.44 --- Log message: Add an indication of signedness to the uint64_t constructor so sign bits can be extended. This helps fix test/Assembler/2007-03-19-NegValue.ll --- Diffs of the changes: (+1 -1) APInt.h |2 +- 1

[llvm-commits] CVS: llvm/lib/Support/APInt.cpp

2007-03-19 Thread Reid Spencer
Changes in directory llvm/lib/Support: APInt.cpp updated: 1.71 - 1.72 --- Log message: Implement extension of sign bits for negative values in the uint64_t constructor. This helps to fix test/Assembler/2007-03-19-NegValue.ll --- Diffs of the changes: (+5 -1) APInt.cpp |6 +- 1

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

2007-03-19 Thread Reid Spencer
Changes in directory llvm/lib/VMCore: Constants.cpp updated: 1.227 - 1.228 --- Log message: Allow ConstantInt::get(Ty, uint64_t) to interpret the 64-bit values as a negative number. This is needed to fix test/Assembler/2007-03-19-NegValue.ll --- Diffs of the changes: (+2 -2) Constants.cpp

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

2007-03-19 Thread Reid Spencer
Changes in directory llvm/include/llvm: Constants.h updated: 1.138 - 1.139 --- Log message: Allow ConstantInt::get(Ty, uint64_t) to interpret the 64-bit values as a negative number. This is needed to fix test/Assembler/2007-03-19-NegValue.ll --- Diffs of the changes: (+1 -1) Constants.h |

[llvm-commits] CVS: llvm/lib/AsmParser/llvmAsmParser.y

2007-03-19 Thread Reid Spencer
Changes in directory llvm/lib/AsmParser: llvmAsmParser.y updated: 1.328 - 1.329 --- Log message: Fix test/Assembler/2007-03-19-NegValue.ll by using the new isSigned parameter on ConstantInt::get to indicate the signedness of the intended value. --- Diffs of the changes: (+4 -9)

[llvm-commits] CVS: llvm/lib/AsmParser/llvmAsmParser.cpp.cvs llvmAsmParser.y.cvs

2007-03-19 Thread Reid Spencer
Changes in directory llvm/lib/AsmParser: llvmAsmParser.cpp.cvs updated: 1.73 - 1.74 llvmAsmParser.y.cvs updated: 1.74 - 1.75 --- Log message: Regenerate. --- Diffs of the changes: (+146 -156) llvmAsmParser.cpp.cvs | 289 --

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

2007-03-19 Thread Reid Spencer
Changes in directory llvm/lib/Transforms/Scalar: InstructionCombining.cpp updated: 1.662 - 1.663 --- Log message: Remove a redundant clause in an if statement. Patch by Sheng Zhou. --- Diffs of the changes: (+0 -1) InstructionCombining.cpp |1 - 1 files changed, 1 deletion(-)

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

2007-03-19 Thread Reid Spencer
Changes in directory llvm/lib/Transforms/Scalar: InstructionCombining.cpp updated: 1.663 - 1.664 --- Log message: 1. Use APInt::getSignBit to reduce clutter (patch by Sheng Zhou) 2. Replace uses of the isPositive utility function with APInt::isPositive --- Diffs of the changes: (+4 -8)

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

2007-03-19 Thread Reid Spencer
Changes in directory llvm/lib/Transforms/Scalar: InstructionCombining.cpp updated: 1.664 - 1.665 --- Log message: Implement isOneBitSet in terms of APInt::countPopulation. --- Diffs of the changes: (+1 -2) InstructionCombining.cpp |3 +-- 1 files changed, 1 insertion(+), 2

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

2007-03-19 Thread Reid Spencer
Changes in directory llvm/lib/Transforms/Scalar: InstructionCombining.cpp updated: 1.665 - 1.666 --- Log message: Implement isMinValuePlusOne using facilities of APInt instead of uint64_t Patch by Zhou Sheng. --- Diffs of the changes: (+4 -5) InstructionCombining.cpp |9 - 1

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

2007-03-19 Thread Reid Spencer
Changes in directory llvm/lib/Transforms/Scalar: InstructionCombining.cpp updated: 1.666 - 1.667 --- Log message: Implement isMaxValueMinusOne in terms of APInt instead of uint64_t. Patch by Sheng Zhou. --- Diffs of the changes: (+4 -5) InstructionCombining.cpp |9 - 1 files

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

2007-03-19 Thread Chris Lattner
1. Use APInt::getSignBit to reduce clutter (patch by Sheng Zhou) 2. Replace uses of the isPositive utility function with APInt::isPositive Oooh, beautiful. Nice work guys, -Chris --- Diffs of the changes: (+4 -8) InstructionCombining.cpp | 12 1 files changed, 4

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

2007-03-19 Thread Chris Lattner
Implement isOneBitSet in terms of APInt::countPopulation. @@ -3474,8 +3474,7 @@ // isOneBitSet - Return true if there is exactly one bit set in the specified // constant. static bool isOneBitSet(const ConstantInt *CI) { - uint64_t V = CI-getZExtValue(); - return V (V (V-1)) == 0;

[llvm-commits] CVS: llvm/lib/Support/APInt.cpp

2007-03-19 Thread Reid Spencer
Changes in directory llvm/lib/Support: APInt.cpp updated: 1.72 - 1.73 --- Log message: Fix coding standards violation. --- Diffs of the changes: (+1 -1) APInt.cpp |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm/lib/Support/APInt.cpp diff -u

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

2007-03-19 Thread Reid Spencer
On Mon, 2007-03-19 at 14:16 -0700, Chris Lattner wrote: Implement isOneBitSet in terms of APInt::countPopulation. @@ -3474,8 +3474,7 @@ // isOneBitSet - Return true if there is exactly one bit set in the specified // constant. static bool isOneBitSet(const ConstantInt *CI) { -

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

2007-03-19 Thread Reid Spencer
Changes in directory llvm/lib/Transforms/Scalar: InstructionCombining.cpp updated: 1.667 - 1.668 --- Log message: APIntify the isHighOnes utility function. --- Diffs of the changes: (+6 -5) InstructionCombining.cpp | 11 ++- 1 files changed, 6 insertions(+), 5 deletions(-)

[llvm-commits] CVS: llvm/docs/WritingAnLLVMPass.html

2007-03-19 Thread Devang Patel
Changes in directory llvm/docs: WritingAnLLVMPass.html updated: 1.53 - 1.54 --- Log message: Document LoopPass. --- Diffs of the changes: (+89 -1) WritingAnLLVMPass.html | 90 - 1 files changed, 89 insertions(+), 1 deletion(-) Index:

[llvm-commits] CVS: llvm/test/Transforms/InstCombine/2007-03-19-BadTruncChangePR1261.ll

2007-03-19 Thread Reid Spencer
Changes in directory llvm/test/Transforms/InstCombine: 2007-03-19-BadTruncChangePR1261.ll added (r1.1) --- Log message: Add test case for PR1261: http://llvm.org/PR1261 , currently XFAILed. --- Diffs of the changes: (+14 -0) 2007-03-19-BadTruncChangePR1261.ll | 14 ++ 1

[llvm-commits] [125161] Return the correct type for ARRAY_RANGE_REF.

2007-03-19 Thread dpatel
Revision: 125161 Author: dpatel Date: 2007-03-19 16:38:02 -0700 (Mon, 19 Mar 2007) Log Message: --- Return the correct type for ARRAY_RANGE_REF. Patch by Duncan Sands. Modified Paths: -- apple-local/branches/llvm/gcc/llvm-convert.cpp Modified:

Re: [llvm-commits] llvm-gcc: return the correct type for ARRAY_RANGE_REF

2007-03-19 Thread Devang Patel
On Mar 14, 2007, at 3:51 PM, Duncan Sands wrote: An ARRAY_RANGE_REF is for extracting a range of elements from an array, for example elements 1 to 2 of an [3 x i32], while ARRAY_REF is for extracting a single element, say element 2. EmitLV_ARRAY_REF, which handles both expression types,

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

2007-03-19 Thread Chris Lattner
On Mar 19, 2007, at 2:21 PM, Reid Spencer wrote: On Mon, 2007-03-19 at 14:16 -0700, Chris Lattner wrote: Implement isOneBitSet in terms of APInt::countPopulation. @@ -3474,8 +3474,7 @@ // isOneBitSet - Return true if there is exactly one bit set in the specified // constant. static bool

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

2007-03-19 Thread Chris Lattner
On Mar 19, 2007, at 5:02 PM, Chris Lattner wrote: On Mar 19, 2007, at 2:21 PM, Reid Spencer wrote: On Mon, 2007-03-19 at 14:16 -0700, Chris Lattner wrote: Implement isOneBitSet in terms of APInt::countPopulation. @@ -3474,8 +3474,7 @@ // isOneBitSet - Return true if there is exactly one

[llvm-commits] CVS: llvm/lib/Target/ARM/ARMISelLowering.h

2007-03-19 Thread Dale Johannesen
Changes in directory llvm/lib/Target/ARM: ARMISelLowering.h updated: 1.4 - 1.5 --- Log message: fix obvious comment bug --- Diffs of the changes: (+1 -1) ARMISelLowering.h |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm/lib/Target/ARM/ARMISelLowering.h diff -u

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

2007-03-19 Thread Dale Johannesen
Changes in directory llvm/lib/Transforms/Scalar: LoopStrengthReduce.cpp updated: 1.118 - 1.119 --- Log message: use types of loads and stores, not address, in CheckForIVReuse --- Diffs of the changes: (+28 -7) LoopStrengthReduce.cpp | 35 --- 1 files

[llvm-commits] CVS: llvm/lib/AsmParser/llvmAsmParser.y

2007-03-19 Thread Reid Spencer
Changes in directory llvm/lib/AsmParser: llvmAsmParser.y updated: 1.329 - 1.330 --- Log message: Plug some PATypeHolder memory leaks. --- Diffs of the changes: (+25 -6) llvmAsmParser.y | 31 +-- 1 files changed, 25 insertions(+), 6 deletions(-) Index:

[llvm-commits] CVS: llvm/include/llvm/ADT/BitVector.h

2007-03-19 Thread Chris Lattner
Changes in directory llvm/include/llvm/ADT: BitVector.h updated: 1.17 - 1.18 --- Log message: Add a dtor to fix leaks from all clients of BitVector. --- Diffs of the changes: (+4 -0) BitVector.h |4 1 files changed, 4 insertions(+) Index: llvm/include/llvm/ADT/BitVector.h diff

[llvm-commits] CVS: llvm/include/llvm/ADT/APInt.h

2007-03-19 Thread Zhou Sheng
Changes in directory llvm/include/llvm/ADT: APInt.h updated: 1.44 - 1.45 --- Log message: Correct the name: isStrictPositive -- isStrictlyPositive. --- Diffs of the changes: (+1 -1) APInt.h |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm/include/llvm/ADT/APInt.h

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

2007-03-19 Thread Chris Lattner
Changes in directory llvm/lib/Target/ARM: ARMISelLowering.cpp updated: 1.25 - 1.26 --- Log message: fix indentation --- Diffs of the changes: (+1 -1) ARMISelLowering.cpp |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm/lib/Target/ARM/ARMISelLowering.cpp diff -u

Re: [llvm-commits] llvm-gcc: better support for variable size struct fields

2007-03-19 Thread Chris Lattner
On Mar 6, 2007, at 8:25 AM, Duncan Sands wrote: This patch applies on top of the previously posted patch llvm-gcc: use component_ref_field_offset in component references, http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of- Mon-20070226/045399.html. Duncan. var_size.diff

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

2007-03-19 Thread Chris Lattner
APIntify the isHighOnes utility function. Index: llvm/lib/Transforms/Scalar/InstructionCombining.cpp diff -u llvm/lib/Transforms/Scalar/InstructionCombining.cpp:1.667 llvm/lib/Transforms/Scalar/InstructionCombining.cpp:1.668 --- llvm/lib/Transforms/Scalar/InstructionCombining.cpp:1.667 Mon

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

2007-03-19 Thread Chris Lattner
Changes in directory llvm/test/CodeGen/X86: shift-codegen.ll added (r1.1) --- Log message: These functions should use shll, not lea. --- Diffs of the changes: (+27 -0) shift-codegen.ll | 27 +++ 1 files changed, 27 insertions(+) Index:

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

2007-03-19 Thread Chris Lattner
Changes in directory llvm/lib/Target/X86: X86ISelDAGToDAG.cpp updated: 1.145 - 1.146 X86InstrInfo.cpp updated: 1.78 - 1.79 --- Log message: Two changes: 1) codegen a shift of a register as a shift, not an LEA. 2) teach the RA to convert a shift to an LEA instruction if it wants something