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

2007-02-28 Thread Reid Spencer
Changes in directory llvm/lib/Support: ConstantRange.cpp updated: 1.38 -> 1.39 --- Log message: Remove the "isSigned" parameters from ConstantRange. It turns out they are not needed as the results are the same with or without it. Patch by Nicholas Lewycky. --- Diffs of the changes: (+23 -

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

2007-02-28 Thread Reid Spencer
Changes in directory llvm/lib/Transforms/Scalar: CorrelatedExprs.cpp updated: 1.55 -> 1.56 --- Log message: Remove the "isSigned" parameters from ConstantRange. It turns out they are not needed as the results are the same with or without it. Patch by Nicholas Lewycky. --- Diffs of the chan

[llvm-commits] CVS: llvm/include/llvm/Support/ConstantRange.h

2007-02-28 Thread Reid Spencer
Changes in directory llvm/include/llvm/Support: ConstantRange.h updated: 1.19 -> 1.20 --- Log message: Remove the "isSigned" parameters from ConstantRange. It turns out they are not needed as the results are the same with or without it. Patch by Nicholas Lewycky. --- Diffs of the changes:

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

2007-02-28 Thread Reid Spencer
Changes in directory llvm/lib/Analysis: ScalarEvolution.cpp updated: 1.98 -> 1.99 --- Log message: Remove the "isSigned" parameters from ConstantRange. It turns out they are not needed as the results are the same with or without it. Patch by Nicholas Lewycky. --- Diffs of the changes: (+7

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

2007-02-28 Thread Evan Cheng
Changes in directory llvm/lib/Target/ARM: ARMMachineFunctionInfo.h updated: 1.6 -> 1.7 --- Log message: Switch from std::vector to BitVector. --- Diffs of the changes: (+32 -12) ARMMachineFunctionInfo.h | 44 1 files changed, 32 insertions(+),

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

2007-02-28 Thread Reid Spencer
Changes in directory llvm/lib/Analysis: ScalarEvolution.cpp updated: 1.97 -> 1.98 --- Log message: APIntify various computations in ScalarEvolution --- Diffs of the changes: (+52 -55) ScalarEvolution.cpp | 107 +--- 1 files changed, 52 inser

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

2007-02-28 Thread Reid Spencer
Changes in directory llvm/lib/Support: APInt.cpp updated: 1.60 -> 1.61 --- Log message: Use a real table in sqrt to shorten and quicken the code. Thanks for the idea Chris. --- Diffs of the changes: (+10 -14) APInt.cpp | 24 ++-- 1 files changed, 10 insertions(+), 14

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

2007-02-28 Thread Chris Lattner
> + // Use a fast table for some small values. This also gets rid of > some > + // rounding errors in libc sqrt for small values. > + if (magnitude <= 5) { Please use a real table, not a switch, for this. It will be smaller (codesize) and faster. -Chris

[llvm-commits] CVS: llvm-test/SingleSource/Makefile.singlesrc

2007-02-28 Thread Reid Spencer
Changes in directory llvm-test/SingleSource: Makefile.singlesrc updated: 1.36 -> 1.37 --- Log message: Put the -O2 first so that its possible to override it. --- Diffs of the changes: (+2 -2) Makefile.singlesrc |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) Index: llvm-tes

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

2007-02-28 Thread Bill Wendling
Changes in directory llvm/lib/Target/ARM: ARMAsmPrinter.cpp updated: 1.57 -> 1.58 --- Log message: Get rid of verboten include. --- Diffs of the changes: (+0 -1) ARMAsmPrinter.cpp |1 - 1 files changed, 1 deletion(-) Index: llvm/lib/Target/ARM/ARMAsmPrinter.cpp diff -u llvm/lib/Targ

[llvm-commits] CVS: llvm/include/llvm/Support/MathExtras.h

2007-02-28 Thread Owen Anderson
Changes in directory llvm/include/llvm/Support: MathExtras.h updated: 1.37 -> 1.38 --- Log message: Use the GCC built-in for PopulationCount when it's available, and use a faster algorithm when it's not. This should be particularly noticeable in the 64-bit case. --- Diffs of the changes: (+

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

2007-02-28 Thread Reid Spencer
Changes in directory llvm/include/llvm/ADT: APInt.h updated: 1.30 -> 1.31 --- Log message: Add a square root function. --- Diffs of the changes: (+3 -0) APInt.h |3 +++ 1 files changed, 3 insertions(+) Index: llvm/include/llvm/ADT/APInt.h diff -u llvm/include/llvm/ADT/APInt.h:1.30 ll

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

2007-02-28 Thread Reid Spencer
Changes in directory llvm/lib/Support: APInt.cpp updated: 1.59 -> 1.60 --- Log message: Add a square root function. --- Diffs of the changes: (+87 -6) APInt.cpp | 93 ++ 1 files changed, 87 insertions(+), 6 deletions(-) Index:

[llvm-commits] removal of isSigned from ConstantRange

2007-02-28 Thread Nick Lewycky
This patch removes the "isSigned" parameter from the methods of ConstantRange. That concept was redundant with the wrapped set, except that wrapped set is a property of the ConstantRange. Patch attached. This updates users of ConstantRange to cope with the modified API. Nick Index: include/llvm/S

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

2007-02-28 Thread Reid Spencer
Changes in directory llvm/include/llvm: DerivedTypes.h updated: 1.85 -> 1.86 --- Log message: Reduce #includage by taking a method out of line. --- Diffs of the changes: (+2 -4) DerivedTypes.h |6 ++ 1 files changed, 2 insertions(+), 4 deletions(-) Index: llvm/include/llvm/Derive

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

2007-02-28 Thread Reid Spencer
Changes in directory llvm/lib/VMCore: Type.cpp updated: 1.175 -> 1.176 --- Log message: Reduce #includage by taking a method out of line. --- Diffs of the changes: (+4 -0) Type.cpp |4 1 files changed, 4 insertions(+) Index: llvm/lib/VMCore/Type.cpp diff -u llvm/lib/VMCore/Type.

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

2007-02-28 Thread Chris Lattner
> Add an IntegerType::getMask() method to get an APInt mask for the > type. Please move this method out of line, forward declare APInt, and remove the #include, Thanks, -Chris > > --- > Diffs of the changes: (+8 -0) > > DerivedTypes.h |8 > 1 files changed, 8 insertions(+) >

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

2007-02-28 Thread Evan Cheng
Changes in directory llvm/lib/CodeGen: VirtRegMap.cpp updated: 1.100 -> 1.101 --- Log message: A restore is promoted to copy (or deleted entirely), remove the kill from the last use of the targetted register. --- Diffs of the changes: (+4 -3) VirtRegMap.cpp |7 --- 1 files changed,

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

2007-02-28 Thread Evan Cheng
Changes in directory llvm/lib/CodeGen: PrologEpilogInserter.cpp updated: 1.74 -> 1.75 --- Log message: Interface clean up. --- Diffs of the changes: (+1 -1) PrologEpilogInserter.cpp |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm/lib/CodeGen/PrologEpilogInserter.cpp

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

2007-02-28 Thread Reid Spencer
Changes in directory llvm/include/llvm: DerivedTypes.h updated: 1.84 -> 1.85 --- Log message: Add an IntegerType::getMask() method to get an APInt mask for the type. --- Diffs of the changes: (+8 -0) DerivedTypes.h |8 1 files changed, 8 insertions(+) Index: llvm/include/llv

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

2007-02-28 Thread Evan Cheng
Changes in directory llvm/lib/CodeGen: RegisterScavenging.cpp updated: 1.7 -> 1.8 --- Log message: Interface clean up. --- Diffs of the changes: (+7 -13) RegisterScavenging.cpp | 20 +++- 1 files changed, 7 insertions(+), 13 deletions(-) Index: llvm/lib/CodeGen/RegisterS

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

2007-02-28 Thread Evan Cheng
Changes in directory llvm/include/llvm/CodeGen: RegisterScavenging.h updated: 1.5 -> 1.6 --- Log message: Clean up interface. --- Diffs of the changes: (+3 -14) RegisterScavenging.h | 17 +++-- 1 files changed, 3 insertions(+), 14 deletions(-) Index: llvm/include/llvm/CodeGe

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

2007-02-28 Thread Evan Cheng
Changes in directory llvm/lib/CodeGen: LiveIntervalAnalysis.cpp updated: 1.217 -> 1.218 --- Log message: Oops. --- Diffs of the changes: (+0 -1) LiveIntervalAnalysis.cpp |1 - 1 files changed, 1 deletion(-) Index: llvm/lib/CodeGen/LiveIntervalAnalysis.cpp diff -u llvm/lib/CodeGen/Live

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

2007-02-28 Thread Evan Cheng
Changes in directory llvm/include/llvm/CodeGen: LiveIntervalAnalysis.h updated: 1.75 -> 1.76 --- Log message: Track all joined registers and eliminate unneeded kills after all joining are done. --- Diffs of the changes: (+10 -3) LiveIntervalAnalysis.h | 13 ++--- 1 files changed,

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

2007-02-28 Thread Evan Cheng
Changes in directory llvm/lib/CodeGen: LiveIntervalAnalysis.cpp updated: 1.216 -> 1.217 --- Log message: Track all joined registers and eliminate unneeded kills after all joining are done. --- Diffs of the changes: (+42 -22) LiveIntervalAnalysis.cpp | 64 ++---

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

2007-02-28 Thread Evan Cheng
Changes in directory llvm/include/llvm/CodeGen: MachineBasicBlock.h updated: 1.60 -> 1.61 --- Log message: MachineBasicBlock fields should not be public. --- Diffs of the changes: (+0 -1) MachineBasicBlock.h |1 - 1 files changed, 1 deletion(-) Index: llvm/include/llvm/CodeGen/Machine

Re: [llvm-commits] ConstantRange

2007-02-28 Thread Reid Spencer
Hi Nick, On Wed, 2007-02-28 at 19:29 -0500, Nick Lewycky wrote: > In my tree, I have an additional constructor for ConstantRange that > takes an ICmpInst::Predicate and a ConstantRange. It returns the range > where all of the values in the range satisfy the predicate against any > of the values i

Re: [llvm-commits] ConstantRange

2007-02-28 Thread Nick Lewycky
Chris Lattner wrote: > On Feb 28, 2007, at 11:46 AM, Reid Spencer wrote: > > >>Chris, >> >>One last bugaboo on this. Right now, ConstantRange depends on VMCore >>because it needs Instructions.h to get the ICmp predicates. This is >>now >>the only reason for it to be in lib/Analysis. I would li

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

2007-02-28 Thread Reid Spencer
Changes in directory llvm/lib/Analysis: ScalarEvolution.cpp updated: 1.96 -> 1.97 --- Log message: For PR1205: http://llvm.org/PR1205 : Make GetConstantFactor compute its result using an APInt. --- Diffs of the changes: (+20 -16) ScalarEvolution.cpp | 36 -

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

2007-02-28 Thread Dale Johannesen
Changes in directory llvm/lib/Target/ARM: ARMConstantIslandPass.cpp updated: 1.31 -> 1.32 --- Log message: Changes requested in review of last pass. Also pulled isThumb into a member, instead of resetting in every function that uses it. --- Diffs of the changes: (+142 -113) ARMConstantIsl

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

2007-02-28 Thread Evan Cheng
Changes in directory llvm/lib/Target/ARM: ARMRegisterInfo.cpp updated: 1.75 -> 1.76 --- Log message: Doh. ARM::PC is obvious a reserved register. --- Diffs of the changes: (+1 -0) ARMRegisterInfo.cpp |1 + 1 files changed, 1 insertion(+) Index: llvm/lib/Target/ARM/ARMRegisterInfo.cpp

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

2007-02-28 Thread Reid Spencer
Changes in directory llvm/lib/Analysis: ScalarEvolution.cpp updated: 1.95 -> 1.96 --- Log message: For PR1205: http://llvm.org/PR1205 : Adjust to changes in ConstantRange interface. --- Diffs of the changes: (+5 -4) ScalarEvolution.cpp |9 + 1 files changed, 5 insertions(+), 4

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

2007-02-28 Thread Reid Spencer
Changes in directory llvm/lib/Transforms/Scalar: CorrelatedExprs.cpp updated: 1.54 -> 1.55 --- Log message: For PR1205: http://llvm.org/PR1205 : Adjust to changes in ConstantRange interface. --- Diffs of the changes: (+15 -9) CorrelatedExprs.cpp | 24 +++- 1 files cha

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

2007-02-28 Thread LLVM
Changes in directory llvm/lib/Analysis: ConstantRange.cpp (r1.37) removed --- Log message: Move ConstantRange class to lib/Support from lib/Analysis and make its interface not depend on Type or ICmpInst. --- Diffs of the changes: (+0 -0) 0 files changed

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

2007-02-28 Thread Reid Spencer
Changes in directory llvm/lib/Support: ConstantRange.cpp updated: 1.37 -> 1.38 --- Log message: Move ConstantRange class to lib/Support from lib/Analysis and make its interface not depend on Type or ICmpInst. --- Diffs of the changes: (+20 -76) ConstantRange.cpp | 96 +++

[llvm-commits] CVS: llvm/include/llvm/Support/ConstantRange.h

2007-02-28 Thread Reid Spencer
Changes in directory llvm/include/llvm/Support: ConstantRange.h updated: 1.18 -> 1.19 --- Log message: Move ConstantRange class to lib/Support from lib/Analysis and make its interface not depend on Type or ICmpInst. --- Diffs of the changes: (+7 -15) ConstantRange.h | 22 +++

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

2007-02-28 Thread Reid Spencer
Changes in directory llvm/include/llvm: Instructions.h updated: 1.62 -> 1.63 --- Log message: Provide an ICmpInst::makeConstantRange to generate a ConstantRange value from a predicate and an APInt. This is removed from ConstantRange class so that ConstantRange doesn't have to depend on lib/VMCo

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

2007-02-28 Thread Reid Spencer
Changes in directory llvm/lib/VMCore: Instructions.cpp updated: 1.78 -> 1.79 --- Log message: Provide an ICmpInst::makeConstantRange to generate a ConstantRange value from a predicate and an APInt. This is removed from ConstantRange class so that ConstantRange doesn't have to depend on lib/VMCo

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

2007-02-28 Thread Jim Laskey
Changes in directory llvm/lib/CodeGen/SelectionDAG: LegalizeDAG.cpp updated: 1.479 -> 1.480 --- Log message: Chain is on second operand. --- Diffs of the changes: (+23 -4) LegalizeDAG.cpp | 27 +++ 1 files changed, 23 insertions(+), 4 deletions(-) Index: llvm/lib

Re: [llvm-commits] ConstantRange

2007-02-28 Thread Chris Lattner
On Feb 28, 2007, at 11:46 AM, Reid Spencer wrote: > Chris, > > One last bugaboo on this. Right now, ConstantRange depends on VMCore > because it needs Instructions.h to get the ICmp predicates. This is > now > the only reason for it to be in lib/Analysis. I would like to > propose a > change

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

2007-02-28 Thread Reid Spencer
Changes in directory llvm/lib/Analysis: ConstantRange.cpp updated: 1.36 -> 1.37 ScalarEvolution.cpp updated: 1.94 -> 1.95 --- Log message: For PR1205: http://llvm.org/PR1205 : Remove ConstantInt from ConstantRange interface and adjust its users to compensate. --- Diffs of the changes: (+30 -

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

2007-02-28 Thread Reid Spencer
Changes in directory llvm/lib/Transforms/Scalar: CorrelatedExprs.cpp updated: 1.53 -> 1.54 --- Log message: For PR1205: http://llvm.org/PR1205 : Remove ConstantInt from ConstantRange interface and adjust its users to compensate. --- Diffs of the changes: (+4 -1) CorrelatedExprs.cpp |5

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

2007-02-28 Thread Reid Spencer
Changes in directory llvm/include/llvm/Analysis: ScalarEvolution.h updated: 1.14 -> 1.15 --- Log message: For PR1205: http://llvm.org/PR1205 : Remove ConstantInt from ConstantRange interface and adjust its users to compensate. --- Diffs of the changes: (+4 -0) ScalarEvolution.h |4

[llvm-commits] CVS: llvm/include/llvm/Support/ConstantRange.h

2007-02-28 Thread Reid Spencer
Changes in directory llvm/include/llvm/Support: ConstantRange.h updated: 1.17 -> 1.18 --- Log message: For PR1205: http://llvm.org/PR1205 : Remove ConstantInt from ConstantRange interface and adjust its users to compensate. --- Diffs of the changes: (+9 -6) ConstantRange.h | 15 +

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

2007-02-28 Thread Reid Spencer
Changes in directory llvm/lib/VMCore: Constants.cpp updated: 1.224 -> 1.225 --- Log message: Implement a convenience method to construct a ConstantInt directly from an APInt. The implied type is the integer type that corresponds to the bit width of the APInt. --- Diffs of the changes: (+4 -0

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

2007-02-28 Thread Reid Spencer
Changes in directory llvm/include/llvm: Constants.h updated: 1.133 -> 1.134 --- Log message: Implement a convenience method to construct a ConstantInt directly from an APInt. The implied type is the integer type that corresponds to the bit width of the APInt. --- Diffs of the changes: (+4 -0

Re: [llvm-commits] ConstantRange

2007-02-28 Thread Reid Spencer
Chris, One last bugaboo on this. Right now, ConstantRange depends on VMCore because it needs Instructions.h to get the ICmp predicates. This is now the only reason for it to be in lib/Analysis. I would like to propose a change: 1. Put the bulk of ConstantRange into a new class, APRange in lib/Su

[llvm-commits] CVS: llvm/include/llvm/Support/ConstantRange.h

2007-02-28 Thread Reid Spencer
Changes in directory llvm/include/llvm/Support: ConstantRange.h updated: 1.16 -> 1.17 --- Log message: For PR1205: http://llvm.org/PR1205 : First round of ConstantRange changes. This makes all CR constructors use only APInt and not use ConstantInt. Clients are adjusted accordingly. --- Diffs

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

2007-02-28 Thread Reid Spencer
Changes in directory llvm/lib/Analysis: ConstantRange.cpp updated: 1.35 -> 1.36 ScalarEvolution.cpp updated: 1.93 -> 1.94 --- Log message: For PR1205: http://llvm.org/PR1205 : First round of ConstantRange changes. This makes all CR constructors use only APInt and not use ConstantInt. Clients ar

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

2007-02-28 Thread Reid Spencer
Changes in directory llvm/lib/Transforms/Scalar: CorrelatedExprs.cpp updated: 1.52 -> 1.53 --- Log message: For PR1205: http://llvm.org/PR1205 : First round of ConstantRange changes. This makes all CR constructors use only APInt and not use ConstantInt. Clients are adjusted accordingly. --- D

[llvm-commits] New pass for review

2007-02-28 Thread Anton Korobeynikov
Hello, Everyone. Please find new optimization pass for LLVM attached. Actually, it implements llvm-to-llvm transformation of switches, lowering their "complexity" (in terms of comparisons/jumps needed). It does techniques listed in PR926: 1. MRST for sparse switches (they are converted in the seri

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

2007-02-28 Thread Dale Johannesen
Changes in directory llvm/lib/Target/ARM: ARMConstantIslandPass.cpp updated: 1.30 -> 1.31 README.txt updated: 1.14 -> 1.15 --- Log message: Add intelligence about where to break large blocks. --- Diffs of the changes: (+80 -35) ARMConstantIslandPass.cpp | 96 +

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

2007-02-28 Thread Chris Lattner
Changes in directory llvm/lib/Target/X86: X86ISelLowering.cpp updated: 1.355 -> 1.356 --- Log message: remove dead option --- Diffs of the changes: (+0 -4) X86ISelLowering.cpp |4 1 files changed, 4 deletions(-) Index: llvm/lib/Target/X86/X86ISelLowering.cpp diff -u llvm/lib/Tar

[llvm-commits] CVS: llvm/test/CodeGen/X86/2005-12-03-IndirectTailCall.ll 2006-10-02-BoolRetCrash.ll fast-cc-callee-pops.ll fast-cc-merge-stack-adj.ll fast-cc-tail-call.ll

2007-02-28 Thread Chris Lattner
Changes in directory llvm/test/CodeGen/X86: 2005-12-03-IndirectTailCall.ll updated: 1.4 -> 1.5 2006-10-02-BoolRetCrash.ll updated: 1.2 -> 1.3 fast-cc-callee-pops.ll updated: 1.6 -> 1.7 fast-cc-merge-stack-adj.ll updated: 1.6 -> 1.7 fast-cc-tail-call.ll updated: 1.4 -> 1.5 --- Log message: Elimi

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

2007-02-28 Thread Jim Laskey
Changes in directory llvm/lib/CodeGen: DwarfWriter.cpp updated: 1.128 -> 1.129 --- Log message: Handle mix of personalities. --- Diffs of the changes: (+37 -30) DwarfWriter.cpp | 67 ++-- 1 files changed, 37 insertions(+), 30 deletions(-

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

2007-02-28 Thread Jim Laskey
Changes in directory llvm/lib/CodeGen: IntrinsicLowering.cpp updated: 1.70 -> 1.71 --- Log message: Provide a more meaningful name. --- Diffs of the changes: (+1 -1) IntrinsicLowering.cpp |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm/lib/CodeGen/IntrinsicLowering.c

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

2007-02-28 Thread Jim Laskey
Changes in directory llvm/lib/CodeGen/SelectionDAG: SelectionDAGISel.cpp updated: 1.377 -> 1.378 --- Log message: MERGE_VALUES unnecessary. --- Diffs of the changes: (+4 -12) SelectionDAGISel.cpp | 16 1 files changed, 4 insertions(+), 12 deletions(-) Index: llvm/lib/Co

[llvm-commits] CVS: llvm/include/llvm/Intrinsics.td

2007-02-28 Thread Jim Laskey
Changes in directory llvm/include/llvm: Intrinsics.td updated: 1.47 -> 1.48 --- Log message: Provide a more meaningful name. --- Diffs of the changes: (+1 -1) Intrinsics.td |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm/include/llvm/Intrinsics.td diff -u llvm/includ

[llvm-commits] CVS: llvm/test/CodeGen/X86/fast-cc-pass-in-regs.ll

2007-02-28 Thread Chris Lattner
Changes in directory llvm/test/CodeGen/X86: fast-cc-pass-in-regs.ll updated: 1.6 -> 1.7 --- Log message: fastcc -> fastcall --- Diffs of the changes: (+8 -10) fast-cc-pass-in-regs.ll | 18 -- 1 files changed, 8 insertions(+), 10 deletions(-) Index: llvm/test/CodeGen/X86

[llvm-commits] CVS: llvm/lib/Target/X86/X86CallingConv.td

2007-02-28 Thread Chris Lattner
Changes in directory llvm/lib/Target/X86: X86CallingConv.td updated: 1.9 -> 1.10 --- Log message: bugfix: fastcall does not require the first two params to be marked 'inreg', they always get registers. --- Diffs of the changes: (+1 -1) X86CallingConv.td |2 +- 1 files changed, 1 insert

Re: [llvm-commits] ConstantRange

2007-02-28 Thread Reid Spencer
On Wed, 2007-02-28 at 10:11 -0800, Chris Lattner wrote: > On Feb 28, 2007, at 8:29 AM, Reid Spencer wrote: > > > Chris, > > > > I have converted ConstantRange to use APInt internally. This > > simplified > > it and got rid of some of the helper functions inside ConstantRange > > (because they ha

[llvm-commits] CVS: llvm/test/CodeGen/X86/fast-cc-callee-pops.ll fast-cc-merge-stack-adj.ll

2007-02-28 Thread Chris Lattner
Changes in directory llvm/test/CodeGen/X86: fast-cc-callee-pops.ll updated: 1.5 -> 1.6 fast-cc-merge-stack-adj.ll updated: 1.5 -> 1.6 --- Log message: fastcc -> fastcall --- Diffs of the changes: (+4 -4) fast-cc-callee-pops.ll |2 +- fast-cc-merge-stack-adj.ll |6 +++--- 2 file

[llvm-commits] llvm-gcc: support for NON_LVALUE_EXPR

2007-02-28 Thread Duncan Sands
According to the docs: "NON_LVALUE_EXPR These nodes indicate that their one and only operand is not an lvalue. A back end can treat these identically to the single operand." And that is what this patch does. Ciao, Duncan. Index: gcc.llvm.master/gcc/llvm-convert.cpp =

Re: [llvm-commits] ConstantRange

2007-02-28 Thread Chris Lattner
On Feb 28, 2007, at 8:29 AM, Reid Spencer wrote: > Chris, > > I have converted ConstantRange to use APInt internally. This > simplified > it and got rid of some of the helper functions inside ConstantRange > (because they have equivalents in APInt). Now I'm thinking that > ConstantRange should

[llvm-commits] llvm-gcc: support arrays with non-zero lower bound

2007-02-28 Thread Duncan Sands
Ada arrays need not be indexed from zero: the indexing can start from any number, positive or negative. While some parts of llvm-gcc had support for non-zero lower bounds, not everywhere did. This patch adds consistent support everywhere. Also, it considers an array to have dynamic size if the l

[llvm-commits] CVS: llvm/test/CodeGen/X86/fast-cc-callee-pops.ll

2007-02-28 Thread Chris Lattner
Changes in directory llvm/test/CodeGen/X86: fast-cc-callee-pops.ll updated: 1.4 -> 1.5 --- Log message: fastcc -> fastcall --- Diffs of the changes: (+1 -1) fast-cc-callee-pops.ll |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm/test/CodeGen/X86/fast-cc-callee-pops.l

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

2007-02-28 Thread Reid Spencer
Changes in directory llvm/lib/Analysis: ConstantRange.cpp updated: 1.34 -> 1.35 --- Log message: For PR1205: http://llvm.org/PR1205 : Convert ConstantRange class to use APInt internally as its value type for the constant range, instead of ConstantInt. --- Diffs of the changes: (+127 -138)

[llvm-commits] CVS: llvm/include/llvm/Support/ConstantRange.h

2007-02-28 Thread Reid Spencer
Changes in directory llvm/include/llvm/Support: ConstantRange.h updated: 1.15 -> 1.16 --- Log message: For PR1205: http://llvm.org/PR1205 : Convert ConstantRange class to use APInt internally as its value type for the constant range, instead of ConstantInt. --- Diffs of the changes: (+10 -4)

[llvm-commits] [see] CVS: llvm-poolalloc/lib/DSA/BottomUpClosure.cpp DataStructure.cpp Local.cpp TopDownClosure.cpp

2007-02-28 Thread Andrew Lenharth
Changes in directory llvm-poolalloc/lib/DSA: BottomUpClosure.cpp updated: 1.123.2.1 -> 1.123.2.1.2.1 DataStructure.cpp updated: 1.248.2.4 -> 1.248.2.4.2.1 Local.cpp updated: 1.158.2.4.2.1 -> 1.158.2.4.2.2 TopDownClosure.cpp updated: 1.92.2.1 -> 1.92.2.1.2.1 --- Log message: Add recursive unknow

[llvm-commits] [see] CVS: llvm-poolalloc/include/dsa/DSGraph.h

2007-02-28 Thread Andrew Lenharth
Changes in directory llvm-poolalloc/include/dsa: DSGraph.h updated: 1.110.2.4 -> 1.110.2.4.2.1 --- Log message: Add recursive unknown --- Diffs of the changes: (+2 -0) DSGraph.h |2 ++ 1 files changed, 2 insertions(+) Index: llvm-poolalloc/include/dsa/DSGraph.h diff -u llvm-poolalloc/

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

2007-02-28 Thread Reid Spencer
Changes in directory llvm/lib/Support: APInt.cpp updated: 1.58 -> 1.59 --- Log message: Make the trunc/sext/zext methods return APInt& so that these operations can be chained together with other operations. --- Diffs of the changes: (+8 -7) APInt.cpp | 15 --- 1 files changed

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

2007-02-28 Thread Reid Spencer
Changes in directory llvm/include/llvm/ADT: APInt.h updated: 1.29 -> 1.30 --- Log message: Make APInt a little more friendly to its users: * Add support for + and - of a uint64_t. * Make trunc/sext/zext return *this so it can be chained with other ops * Add smin, smax, umin, umax function

[llvm-commits] ConstantRange

2007-02-28 Thread Reid Spencer
Chris, I have converted ConstantRange to use APInt internally. This simplified it and got rid of some of the helper functions inside ConstantRange (because they have equivalents in APInt). Now I'm thinking that ConstantRange should completely avoid the use of ConstantInt in its API and replace all

[llvm-commits] llvm-gcc: only call rest_of_decl_compilation on VAR_DECLs in EmitBIND_EXPR

2007-02-28 Thread Duncan Sands
The variable expansion part of EmitBIND_EXPR is clearly based on expand_var in expr.c, however unlike expand_var it doesn't check for VAR_DECL before calling rest_of_decl_compilation. This patch adds the check. Without it, the Ada run-time fails to build due to rest_of_decl_compilation getting ca

[llvm-commits] llvm-gcc: check that fields are laid out in ConvertRecordCONSTRUCTOR

2007-02-28 Thread Duncan Sands
Die obviously, rather than obscurely deep down in make_decl_llvm. I hit this with the Ada f-e: it was replacing fields in a record type without updating constructors, with the result that the constructor element fields did not belong to the constructor type, and thus were not laid out when the type

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

2007-02-28 Thread Nate Begeman
Changes in directory llvm/lib/CodeGen: MachOWriter.cpp updated: 1.29 -> 1.30 --- Log message: Fix a typo, thanks Bill! --- Diffs of the changes: (+1 -1) MachOWriter.cpp |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm/lib/CodeGen/MachOWriter.cpp diff -u llvm/lib/Code

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

2007-02-28 Thread Chris Lattner
Changes in directory llvm/lib/Target/X86: X86ISelLowering.cpp updated: 1.353 -> 1.354 --- Log message: make use of helper functions in CCState for analyzing formals and calls. --- Diffs of the changes: (+15 -49) X86ISelLowering.cpp | 64 ---