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

2007-03-01 Thread Reid Spencer
Changes in directory llvm/include/llvm/Analysis: ScalarEvolutionExpressions.h updated: 1.10 -> 1.11 --- Log message: Make it possible to create an SCEVUnknown from an APInt as well as an int. --- Diffs of the changes: (+2 -0) ScalarEvolutionExpressions.h |2 ++ 1 files changed, 2 inser

[llvm-commits] [124438] EH support.

2007-03-01 Thread jlaskey
Revision: 124438 Author: jlaskey Date: 2007-03-01 15:11:13 -0800 (Thu, 01 Mar 2007) Log Message: --- EH support. Modified Paths: -- apple-local/branches/llvm/gcc/llvm-convert.cpp apple-local/branches/llvm/gcc/llvm-internal.h Modified: apple-local/branches/llvm/g

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

2007-03-01 Thread Reid Spencer
Changes in directory llvm/lib/Analysis: ScalarEvolution.cpp updated: 1.101 -> 1.102 --- Log message: Make it possible to create an SCEVUnknown from an APInt as well as an int. --- Diffs of the changes: (+4 -0) ScalarEvolution.cpp |4 1 files changed, 4 insertions(+) Index: llvm/

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

2007-03-01 Thread Reid Spencer
Changes in directory llvm/include/llvm: Constants.h updated: 1.136 -> 1.137 --- Log message: Remove virtual keyword from method that doesn't need to be virtual. --- Diffs of the changes: (+1 -1) Constants.h |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm/include/llv

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

2007-03-01 Thread Reid Spencer
Changes in directory llvm/lib/Support: APInt.cpp updated: 1.63 -> 1.64 --- Log message: Combine two lines that can be. --- Diffs of the changes: (+1 -2) APInt.cpp |3 +-- 1 files changed, 1 insertion(+), 2 deletions(-) Index: llvm/lib/Support/APInt.cpp diff -u llvm/lib/Support/APInt.

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

2007-03-01 Thread Reid Spencer
Changes in directory llvm/include/llvm/ADT: APInt.h updated: 1.34 -> 1.35 --- Log message: Add an abs() function to get the absolute value. --- Diffs of the changes: (+8 -0) APInt.h |8 1 files changed, 8 insertions(+) Index: llvm/include/llvm/ADT/APInt.h diff -u llvm/includ

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

2007-03-01 Thread Reid Spencer
Changes in directory llvm/include/llvm: Constants.h updated: 1.137 -> 1.138 --- Log message: Add a non-virtual test for zero, isZero, and rename isUnitValue isOne. These will be used in upcoming patches to avoid virtual function call when the client knows it is a ConstantInt. --- Diffs of th

[llvm-commits] CVS: llvm/lib/Transforms/IPO/GlobalOpt.cpp SimplifyLibCalls.cpp

2007-03-01 Thread Reid Spencer
Changes in directory llvm/lib/Transforms/IPO: GlobalOpt.cpp updated: 1.98 -> 1.99 SimplifyLibCalls.cpp updated: 1.93 -> 1.94 --- Log message: Prefer non-virtual calls to ConstantInt::isZero over virtual calls to Constant::isNullValue() in situations where it is possible. --- Diffs of the cha

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

2007-03-01 Thread Reid Spencer
Changes in directory llvm/lib/VMCore: ConstantFold.cpp updated: 1.145 -> 1.146 --- Log message: Prefer non-virtual calls to ConstantInt::isZero over virtual calls to Constant::isNullValue() in situations where it is possible. --- Diffs of the changes: (+6 -6) ConstantFold.cpp | 12 +

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

2007-03-01 Thread Reid Spencer
Changes in directory llvm/lib/Transforms/Scalar: CondPropagate.cpp updated: 1.17 -> 1.18 IndVarSimplify.cpp updated: 1.110 -> 1.111 LoopStrengthReduce.cpp updated: 1.109 -> 1.110 Reassociate.cpp updated: 1.77 -> 1.78 --- Log message: Prefer non-virtual calls to ConstantInt::isZero over virtual

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

2007-03-01 Thread Reid Spencer
Changes in directory llvm/lib/Analysis: ScalarEvolution.cpp updated: 1.102 -> 1.103 ScalarEvolutionExpander.cpp updated: 1.14 -> 1.15 --- Log message: Prefer non-virtual calls to ConstantInt::isZero over virtual calls to Constant::isNullValue() in situations where it is possible. --- Diffs o

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

2007-03-01 Thread Reid Spencer
Changes in directory llvm/lib/Transforms/Scalar: LoopStrengthReduce.cpp updated: 1.110 -> 1.111 --- Log message: Reverse a premature commital. --- Diffs of the changes: (+17 -21) LoopStrengthReduce.cpp | 38 +- 1 files changed, 17 insertions(+), 21 del

[llvm-commits] CVS: llvm-test/SingleSource/UnitTests/Integer/APInt/gptest.cpp

2007-03-01 Thread Reid Spencer
Changes in directory llvm-test/SingleSource/UnitTests/Integer/APInt: gptest.cpp updated: 1.7 -> 1.8 --- Log message: Make the test for sext more straight forward without trying to convince pari/gp that it really does know how to sign extend. --- Diffs of the changes: (+34 -6) gptest.cpp |

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

2007-03-01 Thread Dale Johannesen
Changes in directory llvm/lib/Target/ARM: ARMRegisterInfo.cpp updated: 1.78 -> 1.79 --- Log message: eliminate unnecessary reset of SP in epilog on darwin --- Diffs of the changes: (+1 -1) ARMRegisterInfo.cpp |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm/lib/Targe

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

2007-03-01 Thread Reid Spencer
Changes in directory llvm/lib/Support: APInt.cpp updated: 1.64 -> 1.65 --- Log message: Fix a problem where shifting by 64-bits leads to incorrect results on PPC but not on X86 becuase shift by word size is "undefined". --- Diffs of the changes: (+4 -1) APInt.cpp |5 - 1 files chan

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

2007-03-01 Thread Reid Spencer
Changes in directory llvm/docs: ProgrammersManual.html updated: 1.128 -> 1.129 --- Log message: Fix a typo. --- Diffs of the changes: (+2 -2) ProgrammersManual.html |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) Index: llvm/docs/ProgrammersManual.html diff -u llvm/docs/Pro

[llvm-commits] CVS: llvm-test/SingleSource/UnitTests/Integer/APInt/Makefile

2007-03-01 Thread Reid Spencer
Changes in directory llvm-test/SingleSource/UnitTests/Integer/APInt: Makefile updated: 1.3 -> 1.4 --- Log message: Changes to support building APInt tests. --- Diffs of the changes: (+9 -2) Makefile | 11 +-- 1 files changed, 9 insertions(+), 2 deletions(-) Index: llvm-test/Sin

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

2007-03-01 Thread Reid Spencer
Changes in directory llvm/lib/Support: APInt.cpp updated: 1.65 -> 1.66 --- Log message: Add a FIXME --- Diffs of the changes: (+3 -0) APInt.cpp |3 +++ 1 files changed, 3 insertions(+) Index: llvm/lib/Support/APInt.cpp diff -u llvm/lib/Support/APInt.cpp:1.65 llvm/lib/Support/APInt.cp

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

2007-03-01 Thread Evan Cheng
Changes in directory llvm/include/llvm/ADT: BitVector.h updated: 1.16 -> 1.17 --- Log message: Make it 64-bit safe. --- Diffs of the changes: (+25 -7) BitVector.h | 32 +--- 1 files changed, 25 insertions(+), 7 deletions(-) Index: llvm/include/llvm/ADT/BitVec

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

2007-03-01 Thread Chris Lattner
Changes in directory llvm/docs: DeveloperPolicy.html updated: 1.36 -> 1.37 --- Log message: grammaro --- Diffs of the changes: (+2 -2) DeveloperPolicy.html |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) Index: llvm/docs/DeveloperPolicy.html diff -u llvm/docs/DeveloperPolic

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

2007-03-01 Thread Reid Spencer
Changes in directory llvm/lib/Analysis: ScalarEvolution.cpp updated: 1.103 -> 1.104 --- Log message: Fix an unequal bitwidth issue. --- Diffs of the changes: (+6 -3) ScalarEvolution.cpp |9 ++--- 1 files changed, 6 insertions(+), 3 deletions(-) Index: llvm/lib/Analysis/ScalarEvol

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

2007-03-01 Thread Chris Lattner
Changes in directory llvm/lib/Transforms/Utils: CloneFunction.cpp updated: 1.42 -> 1.43 --- Log message: switch the inliner from being recursive to being iterative. --- Diffs of the changes: (+14 -6) CloneFunction.cpp | 20 ++-- 1 files changed, 14 insertions(+), 6 deleti

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

2007-03-01 Thread Nick Lewycky
Changes in directory llvm/lib/Support: ConstantRange.cpp updated: 1.39 -> 1.40 --- Log message: Implement unionWith. --- Diffs of the changes: (+11 -2) ConstantRange.cpp | 13 +++-- 1 files changed, 11 insertions(+), 2 deletions(-) Index: llvm/lib/Support/ConstantRange.cpp diff

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

2007-03-01 Thread Reid Spencer
Changes in directory llvm/lib/Support: APInt.cpp updated: 1.66 -> 1.67 --- Log message: Use a better algorithm for rounding sqrt results. Change the FIXME about this to a NOTE: because pari/gp results start to get rounded incorrectly after 192 bits of precision. APInt and pari/gp never differ b

[llvm-commits] CVS: llvm-test/SingleSource/UnitTests/Integer/APInt/gptest.cpp

2007-03-01 Thread Reid Spencer
Changes in directory llvm-test/SingleSource/UnitTests/Integer/APInt: gptest.cpp updated: 1.8 -> 1.9 --- Log message: Don't let the run time grow geometrically with the bit width. Get rid of a useless 3rd parameter on the print function. --- Diffs of the changes: (+30 -28) gptest.cpp | 58

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

2007-03-01 Thread Owen Anderson
Changes in directory llvm/include/llvm/Support: MathExtras.h updated: 1.39 -> 1.40 --- Log message: Fix a typo. --- Diffs of the changes: (+1 -1) MathExtras.h |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm/include/llvm/Support/MathExtras.h diff -u llvm/include/llv

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

2007-03-01 Thread Chris Lattner
Changes in directory llvm/lib/Target/X86: README.txt updated: 1.156 -> 1.157 --- Log message: add a note --- Diffs of the changes: (+22 -0) README.txt | 22 ++ 1 files changed, 22 insertions(+) Index: llvm/lib/Target/X86/README.txt diff -u llvm/lib/Target/X86/README

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

2007-03-01 Thread Chris Lattner
Changes in directory llvm/lib/Target/X86: X86ISelLowering.cpp updated: 1.357 -> 1.358 --- Log message: argument lowering should copy from the vreg shadows of live-in arguments passed in registers, not directly from the pregs themselves. --- Diffs of the changes: (+7 -7) X86ISelLowering.cpp

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

2007-03-01 Thread Evan Cheng
Changes in directory llvm/lib/CodeGen: VirtRegMap.cpp updated: 1.101 -> 1.102 --- Log message: Invalidate last use of a reused register if the use is a deleted noop copy. --- Diffs of the changes: (+1 -0) VirtRegMap.cpp |1 + 1 files changed, 1 insertion(+) Index: llvm/lib/CodeGen/Vir

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

2007-03-01 Thread Chris Lattner
Thanks Reid! -Chris On Mar 1, 2007, at 4:27 PM, Reid Spencer wrote: > > > Changes in directory llvm/include/llvm: > > Constants.h updated: 1.137 -> 1.138 > --- > Log message: > > Add a non-virtual test for zero, isZero, and rename isUnitValue isOne. > These will be used in upcoming patches to av

[llvm-commits] [124439] Fix PR1235, an ICE on invalid code.

2007-03-01 Thread clattner
Revision: 124439 Author: clattner Date: 2007-03-01 22:49:42 -0800 (Thu, 01 Mar 2007) Log Message: --- Fix PR1235, an ICE on invalid code. Modified Paths: -- apple-local/branches/llvm/gcc/llvm-backend.cpp apple-local/branches/llvm/gcc/llvm-convert.cpp Modified: a

[llvm-commits] [124440] cleanup comments and spacing

2007-03-01 Thread clattner
Revision: 124440 Author: clattner Date: 2007-03-01 23:25:59 -0800 (Thu, 01 Mar 2007) Log Message: --- cleanup comments and spacing Modified Paths: -- apple-local/branches/llvm/gcc/llvm-internal.h Modified: apple-local/branches/llvm/gcc/llvm-internal.h ==

[llvm-commits] CVS: llvm/test/CFrontend/2007-03-01-VarSizeArrayIdx.c

2007-03-01 Thread Chris Lattner
Changes in directory llvm/test/CFrontend: 2007-03-01-VarSizeArrayIdx.c added (r1.1) --- Log message: testcase for PR1233: http://llvm.org/PR1233 --- Diffs of the changes: (+7 -0) 2007-03-01-VarSizeArrayIdx.c |7 +++ 1 files changed, 7 insertions(+) Index: llvm/test/CFrontend/200

[llvm-commits] [124441] Fix PR1233 and test/CFrontend/2007-03-01-VarSizeArrayIdx.c.

2007-03-01 Thread clattner
Revision: 124441 Author: clattner Date: 2007-03-01 23:30:11 -0800 (Thu, 01 Mar 2007) Log Message: --- Fix PR1233 and test/CFrontend/2007-03-01-VarSizeArrayIdx.c. Modified Paths: -- apple-local/branches/llvm/gcc/llvm-convert.cpp Modified: apple-local/branches/llvm/gc

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

2007-03-01 Thread Evan Cheng
Changes in directory llvm/lib/Target/ARM: ARMConstantIslandPass.cpp updated: 1.32 -> 1.33 ARMMachineFunctionInfo.h updated: 1.7 -> 1.8 ARMRegisterInfo.cpp updated: 1.76 -> 1.77 --- Log message: - Track which callee-saved registers are spilled. - Some code clean up. --- Diffs of the changes: (

Re: [llvm-commits] frameaddress intrinsincs for PPC

2007-03-01 Thread Nicolas Geoffray
If there is no objection, I'm committing this in. Nicolas Geoffray wrote: > This patch implements the frameaddress intrinsincs for PPC. > > OK to commit? > > > Index: PPCISelLowering.h > ==

Re: [llvm-commits] llvm/lib/Target/PowerPC/PPCRegisterInfo.cpp

2007-03-01 Thread Nicolas Geoffray
If there is no objection, I'm committing this in. Nicolas Nicolas Geoffray wrote: > Here's a patch that fixes linux/PPC FramePointer. It reserves the > offset of the frame pointer before > calculating the offsets of callee saved registers. > > OK to commit? >

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

2007-03-01 Thread Evan Cheng
Changes in directory llvm/include/llvm/CodeGen: RegisterScavenging.h updated: 1.6 -> 1.7 --- Log message: Add a version of FindUnusedReg that restrict search to a specific set of registers. --- Diffs of the changes: (+5 -0) RegisterScavenging.h |5 + 1 files changed, 5 insertions(+

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

2007-03-01 Thread Evan Cheng
Changes in directory llvm/lib/Target/ARM: ARMRegisterInfo.cpp updated: 1.77 -> 1.78 --- Log message: Use a spilled free callee-saved register as scratch register. --- Diffs of the changes: (+17 -3) ARMRegisterInfo.cpp | 20 +--- 1 files changed, 17 insertions(+), 3 deletio

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

2007-03-01 Thread Evan Cheng
Changes in directory llvm/lib/CodeGen: RegisterScavenging.cpp updated: 1.8 -> 1.9 --- Log message: Add a version of FindUnusedReg that restrict search to a specific set of registers. --- Diffs of the changes: (+15 -0) RegisterScavenging.cpp | 15 +++ 1 files changed, 15 inser

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

2007-03-01 Thread Evan Cheng
Changes in directory llvm/lib/CodeGen: PrologEpilogInserter.cpp updated: 1.75 -> 1.76 --- Log message: Delete register scavenger when done with it. --- Diffs of the changes: (+2 -0) PrologEpilogInserter.cpp |2 ++ 1 files changed, 2 insertions(+) Index: llvm/lib/CodeGen/PrologEpilogIn

Re: [llvm-commits] frameaddress intrinsincs for PPC

2007-03-01 Thread Jim Laskey
Appreciated. On 1-Mar-07, at 04:32 AM, Nicolas Geoffray wrote: > If there is no objection, I'm committing this in. > > Nicolas Geoffray wrote: > >> This patch implements the frameaddress intrinsincs for PPC. >> >> OK to commit? >> -

[llvm-commits] CVS: llvm/lib/Target/PowerPC/PPCISelLowering.h PPCISelLowering.cpp

2007-03-01 Thread Nicolas Geoffray
Changes in directory llvm/lib/Target/PowerPC: PPCISelLowering.h updated: 1.60 -> 1.61 PPCISelLowering.cpp updated: 1.258 -> 1.259 --- Log message: Implemented the frameaddress intrinsic for PPC. --- Diffs of the changes: (+25 -1) PPCISelLowering.cpp | 24 +++- PPCISe

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

2007-03-01 Thread Anton Korobeynikov
Changes in directory llvm/test/CodeGen/X86: fastcall-correct-mangling.ll added (r1.1) fast-cc-callee-pops.ll updated: 1.7 -> 1.8 --- Log message: Ensure that fastcall'ed function is correctly mangled & stack is properly aligned --- Diffs of the changes: (+8 -1) fast-cc-callee-pops.ll

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

2007-03-01 Thread Anton Korobeynikov
Changes in directory llvm/lib/Target/X86: X86AsmPrinter.cpp updated: 1.234 -> 1.235 X86ISelLowering.cpp updated: 1.356 -> 1.357 --- Log message: Ensure that fastcall'ed function is correctly mangled & stack is properly aligned --- Diffs of the changes: (+20 -13) X86AsmPrinter.cpp |6

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

2007-03-01 Thread Reid Spencer
Changes in directory llvm/include/llvm/ADT: APInt.h updated: 1.31 -> 1.32 --- Log message: Add methods for bit width modification: sextOrTrunc, zextOrTrunc. --- Diffs of the changes: (+10 -0) APInt.h | 10 ++ 1 files changed, 10 insertions(+) Index: llvm/include/llvm/ADT/APInt.

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

2007-03-01 Thread Reid Spencer
Changes in directory llvm/lib/Support: APInt.cpp updated: 1.61 -> 1.62 --- Log message: Add methods for bit width modification: sextOrTrunc, zextOrTrunc. --- Diffs of the changes: (+16 -0) APInt.cpp | 16 1 files changed, 16 insertions(+) Index: llvm/lib/Support/APInt.

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

2007-03-01 Thread Reid Spencer
Changes in directory llvm/lib/Analysis: ScalarEvolution.cpp updated: 1.99 -> 1.100 --- Log message: Fix last night's 445.gobmk breakage which was caused by comparison of APInt's of unequal bitwidth. --- Diffs of the changes: (+1 -0) ScalarEvolution.cpp |1 + 1 files changed, 1 insertio

Re: [llvm-commits] llvm/lib/Target/PowerPC/PPCRegisterInfo.cpp

2007-03-01 Thread Chris Lattner
On Feb 27, 2007, at 9:29 AM, Nicolas Geoffray wrote: Here's a patch that fixes linux/PPC FramePointer. It reserves the offset of the frame pointer before calculating the offsets of callee saved registers. OK to commit? Why can't you just mark the frame address callee save? Why isn't it get

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

2007-03-01 Thread Reid Spencer
Changes in directory llvm/lib/Support: APInt.cpp updated: 1.62 -> 1.63 --- Log message: Make the static table of results in sqrt const. --- Diffs of the changes: (+1 -1) APInt.cpp |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm/lib/Support/APInt.cpp diff -u llvm/lib

Re: [llvm-commits] CVS: llvm/lib/Target/PowerPC/PPCISelLowering.h PPCISelLowering.cpp

2007-03-01 Thread Chris Lattner
> Implemented the frameaddress intrinsic for PPC. Thanks! > +SDOperand PPCTargetLowering::LowerFRAMEADDR(SDOperand Op, > SelectionDAG &DAG) > +{ Please put the '{' on the same line as the rest, to conform with the style in use in this file. > + // Depths > 0 not supported yet! > + if (ca

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

2007-03-01 Thread Reid Spencer
Changes in directory llvm/include/llvm: Constants.h updated: 1.134 -> 1.135 --- Log message: Drop the ConstantInt(const Type&, const APInt&) constructor. It is redundant and more verbose than the ConstantInt(const APInt&) constructor. --- Diffs of the changes: (+4 -5) Constants.h |9 ++

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

2007-03-01 Thread Reid Spencer
Changes in directory llvm/lib/VMCore: Constants.cpp updated: 1.225 -> 1.226 --- Log message: Drop the ConstantInt(const Type&, const APInt&) constructor. It is redundant and more verbose than the ConstantInt(const APInt&) constructor. --- Diffs of the changes: (+9 -14) Constants.cpp | 23

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

2007-03-01 Thread Reid Spencer
Changes in directory llvm/lib/VMCore: ConstantFold.cpp updated: 1.143 -> 1.144 --- Log message: Use a simpler constructor when constructing ConstantInst. --- Diffs of the changes: (+19 -20) ConstantFold.cpp | 39 +++ 1 files changed, 19 insertions(+),

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

2007-03-01 Thread Reid Spencer
Changes in directory llvm/lib/Analysis: ScalarEvolution.cpp updated: 1.100 -> 1.101 --- Log message: Construct ConstantInt with simpler constructor. --- Diffs of the changes: (+4 -4) ScalarEvolution.cpp |8 1 files changed, 4 insertions(+), 4 deletions(-) Index: llvm/lib/Ana

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

2007-03-01 Thread Reid Spencer
Changes in directory llvm/lib/Transforms/Scalar: InstructionCombining.cpp updated: 1.637 -> 1.638 --- Log message: The 64-bit constructor for ConstantInt changes from int64_t to uint64_t. This caused a warning for construction with -1. Avoid the warning by using -1ULL instead. --- Diffs of t

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

2007-03-01 Thread Reid Spencer
Changes in directory llvm/lib/AsmParser: llvmAsmParser.y updated: 1.326 -> 1.327 --- Log message: Use a simpler constructor when constructing ConstantInt. Also, replace verbose code to sext/trunc or zext/trunc and APInt with new methods on that class. --- Diffs of the changes: (+9 -16) llv

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

2007-03-01 Thread Reid Spencer
Changes in directory llvm/lib/AsmParser: llvmAsmParser.cpp.cvs updated: 1.71 -> 1.72 llvmAsmParser.y.cvs updated: 1.72 -> 1.73 --- Log message: Regenerate. --- Diffs of the changes: (+156 -170) llvmAsmParser.cpp.cvs | 301 -- llvmAsmParser.y

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

2007-03-01 Thread Reid Spencer
Changes in directory llvm/lib/Analysis: ScalarEvolutionExpander.cpp updated: 1.13 -> 1.14 --- Log message: Avoid a potential assert out if the loop increment is > 64 bits. --- Diffs of the changes: (+1 -1) ScalarEvolutionExpander.cpp |2 +- 1 files changed, 1 insertion(+), 1 deletion(-

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

2007-03-01 Thread Reid Spencer
Changes in directory llvm/lib/Target: TargetData.cpp updated: 1.103 -> 1.104 --- Log message: Wrap a long line. --- Diffs of the changes: (+2 -1) TargetData.cpp |3 ++- 1 files changed, 2 insertions(+), 1 deletion(-) Index: llvm/lib/Target/TargetData.cpp diff -u llvm/lib/Target/Targe

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

2007-03-01 Thread Reid Spencer
Changes in directory llvm/include/llvm/ADT: APInt.h updated: 1.32 -> 1.33 --- Log message: Add bitsToDouble and bitsToFloat methods for re-interpretation of bits as FP. --- Diffs of the changes: (+26 -0) APInt.h | 26 ++ 1 files changed, 26 insertions(+) Index:

[llvm-commits] CVS: llvm/lib/Bytecode/Reader/Reader.cpp

2007-03-01 Thread Reid Spencer
Changes in directory llvm/lib/Bytecode/Reader: Reader.cpp updated: 1.242 -> 1.243 --- Log message: Use a simpler constructor for ConstantInt. --- Diffs of the changes: (+1 -1) Reader.cpp |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm/lib/Bytecode/Reader/Reader.cpp

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

2007-03-01 Thread Reid Spencer
Changes in directory llvm/lib/VMCore: Instructions.cpp updated: 1.79 -> 1.80 --- Log message: Use modern variable name. ConstantUnsignedInt is long since dead. No functional change with this patch. --- Diffs of the changes: (+2 -2) Instructions.cpp |4 ++-- 1 files changed, 2 insertion

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

2007-03-01 Thread Reid Spencer
Changes in directory llvm/include/llvm/ADT: APInt.h updated: 1.33 -> 1.34 --- Log message: Add doubleToBits and floatToBits methods. --- Diffs of the changes: (+34 -0) APInt.h | 34 ++ 1 files changed, 34 insertions(+) Index: llvm/include/llvm/ADT/APInt.

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

2007-03-01 Thread Reid Spencer
Changes in directory llvm/lib/VMCore: ConstantFold.cpp updated: 1.144 -> 1.145 --- Log message: Use the APInt versions of the bit-wise conversions of float/double to int and back. While this is not strictly necessary, it does pave the way for future changes in casting. It should now be possible

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

2007-03-01 Thread Reid Spencer
Changes in directory llvm-www: Features.html updated: 1.19 -> 1.20 --- Log message: Revise some wording to be clear about what level of ANSI support LLVM has for C and C++ front ends. --- Diffs of the changes: (+4 -4) Features.html |8 1 files changed, 4 insertions(+), 4 delet

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

2007-03-01 Thread Jim Laskey
Changes in directory llvm/lib/CodeGen: MachineModuleInfo.cpp updated: 1.4 -> 1.5 --- Log message: Collect eh filter info. --- Diffs of the changes: (+19 -12) MachineModuleInfo.cpp | 31 +++ 1 files changed, 19 insertions(+), 12 deletions(-) Index: llvm/lib/Co

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

2007-03-01 Thread Jim Laskey
Changes in directory llvm/lib/CodeGen: DwarfWriter.cpp updated: 1.129 -> 1.130 --- Log message: Emit eh filter info. --- Diffs of the changes: (+66 -18) DwarfWriter.cpp | 84 1 files changed, 66 insertions(+), 18 deletions(-) Inde

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

2007-03-01 Thread Jim Laskey
Changes in directory llvm/lib/CodeGen/SelectionDAG: SelectionDAGISel.cpp updated: 1.378 -> 1.379 --- Log message: Lower eh filter intrinsic. --- Diffs of the changes: (+4 -1) SelectionDAGISel.cpp |5 - 1 files changed, 4 insertions(+), 1 deletion(-) Index: llvm/lib/CodeGen/Selecti

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

2007-03-01 Thread Jim Laskey
Changes in directory llvm/include/llvm: Intrinsics.td updated: 1.48 -> 1.49 --- Log message: Add eh filter intrinsic. --- Diffs of the changes: (+5 -3) Intrinsics.td |8 +--- 1 files changed, 5 insertions(+), 3 deletions(-) Index: llvm/include/llvm/Intrinsics.td diff -u llvm/inclu

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

2007-03-01 Thread Jim Laskey
Changes in directory llvm/include/llvm/CodeGen: MachineModuleInfo.h updated: 1.6 -> 1.7 --- Log message: Collect eh filter info. --- Diffs of the changes: (+7 -0) MachineModuleInfo.h |7 +++ 1 files changed, 7 insertions(+) Index: llvm/include/llvm/CodeGen/MachineModuleInfo.h diff

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

2007-03-01 Thread Jim Laskey
Changes in directory llvm/lib/CodeGen: IntrinsicLowering.cpp updated: 1.71 -> 1.72 --- Log message: Lower eh filter intrinsic. --- Diffs of the changes: (+1 -0) IntrinsicLowering.cpp |1 + 1 files changed, 1 insertion(+) Index: llvm/lib/CodeGen/IntrinsicLowering.cpp diff -u llvm/lib/C

[llvm-commits] CVS: llvm/tools/llvm2cpp/CppWriter.cpp

2007-03-01 Thread Reid Spencer
Changes in directory llvm/tools/llvm2cpp: CppWriter.cpp updated: 1.41 -> 1.42 --- Log message: Make output for ConstantInt construction correct for any bitwidth. --- Diffs of the changes: (+2 -1) CppWriter.cpp |3 ++- 1 files changed, 2 insertions(+), 1 deletion(-) Index: llvm/tools/

[llvm-commits] CVS: llvm/lib/Transforms/IPO/ArgumentPromotion.cpp

2007-03-01 Thread Reid Spencer
Changes in directory llvm/lib/Transforms/IPO: ArgumentPromotion.cpp updated: 1.38 -> 1.39 --- Log message: Use APInt conversion to string so the result is correct regardless of the bit width of the ConstantInt being converted. --- Diffs of the changes: (+1 -1) ArgumentPromotion.cpp |2

[llvm-commits] [llvm-gcc patch] workaround to fix function arguments aligment on arm-linux-gnueabi

2007-03-01 Thread Lauro Ramos Venancio
This patch fixes SingleSource/UnitTests/2003-05-07-VarArgs.c test on arm-linux-gnueabi. Lauro Index: gcc/llvm-abi.h === --- gcc/llvm-abi.h (revision 285) +++ gcc/llvm-abi.h (working copy) @@ -32,6 +32,7 @@ #include "llvm-internal.h"

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

2007-03-01 Thread Reid Spencer
Changes in directory llvm/docs: ProgrammersManual.html updated: 1.127 -> 1.128 --- Log message: Clarify the use of getValue/getSExtValue/getZExtValue and add the new APInt constructor. --- Diffs of the changes: (+15 -5) ProgrammersManual.html | 20 +++- 1 files changed, 1

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

2007-03-01 Thread Owen Anderson
Changes in directory llvm/include/llvm/Support: MathExtras.h updated: 1.38 -> 1.39 --- Log message: Use GCC intrinsics when available, and use smarter fallbacks when not. --- Diffs of the changes: (+26 -2) MathExtras.h | 28 ++-- 1 files changed, 26 insertions(+),

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

2007-03-01 Thread Reid Spencer
Changes in directory llvm/include/llvm: Constants.h updated: 1.135 -> 1.136 --- Log message: Add an isUnitValue method for comparison against 1. This just follows a common pattern with isNullValue, isAllOnesValue, etc. It also helps to prevent things like getZExtValue() == 1, which could assert

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

2007-03-01 Thread Reid Spencer
Changes in directory llvm/lib/Transforms/Scalar: Reassociate.cpp updated: 1.76 -> 1.77 --- Log message: Use isUnitValue() instead of getZExtValue() == 1 which will prevent an assert if the ConstantInt's value is large. --- Diffs of the changes: (+1 -1) Reassociate.cpp |2 +- 1 files ch

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

2007-03-01 Thread Reid Spencer
Changes in directory llvm/lib/Transforms/Scalar: CondPropagate.cpp updated: 1.16 -> 1.17 --- Log message: Although probably not necessary, guard against a potential assertion by using isNullValue() instead of getZExtValue() == 0. --- Diffs of the changes: (+1 -1) CondPropagate.cpp |2 +

[llvm-commits] LSR Overkill For Strides?

2007-03-01 Thread Reid Spencer
Chris, I'm wondering if you could look at this patch to LoopStrengthReduce.cpp. It's the third (last change set) I'm asking about. I've converted the stride comparisons to use APInt. It seems unlikely that strides will be > 64 bits. Is this overkill? Reid. Index: lib/Transforms/Scalar/LoopStre

Re: [llvm-commits] LSR Overkill For Strides?

2007-03-01 Thread Chris Lattner
On Mar 1, 2007, at 2:43 PM, Reid Spencer wrote: > Chris, > > I'm wondering if you could look at this patch to > LoopStrengthReduce.cpp. > It's the third (last change set) I'm asking about. > > I've converted the stride comparisons to use APInt. It seems unlikely > that strides will be > 64 bits

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

2007-03-01 Thread Chris Lattner
On Mar 1, 2007, at 1:50 PM, Reid Spencer wrote: > Index: llvm/include/llvm/Constants.h > diff -u llvm/include/llvm/Constants.h:1.135 llvm/include/llvm/ > Constants.h:1.136 > --- llvm/include/llvm/Constants.h:1.135 Thu Mar 1 13:30:07 2007 > +++ llvm/include/llvm/Constants.h Thu Mar 1 15

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

2007-03-01 Thread Chris Lattner
> Add doubleToBits and floatToBits methods. These shouldn't be needed. bitstodouble only works with a 64-bit source integer, and bitstofloat only works with a 32-bit source integer. MathExtras.h should be sufficient here, -Chris > > --- > Diffs of the changes: (+34 -0) > > APInt.h | 34 +

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

2007-03-01 Thread Chris Lattner
> Add bitsToDouble and bitsToFloat methods for re-interpretation of > bits as FP. Likewise, these shouldn't be needed. -Chris > --- > Diffs of the changes: (+26 -0) > > APInt.h | 26 ++ > 1 files changed, 26 insertions(+) > > > Index: llvm/include/llvm/ADT/APInt.h >

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

2007-03-01 Thread Reid Spencer
On Thu, 2007-03-01 at 14:46 -0800, Chris Lattner wrote: > On Mar 1, 2007, at 1:50 PM, Reid Spencer wrote: > > Index: llvm/include/llvm/Constants.h > > diff -u llvm/include/llvm/Constants.h:1.135 llvm/include/llvm/ > > Constants.h:1.136 > > --- llvm/include/llvm/Constants.h:1.135 Thu Mar 1 13:

Re: [llvm-commits] LSR Overkill For Strides?

2007-03-01 Thread Reid Spencer
On Thu, 2007-03-01 at 14:44 -0800, Chris Lattner wrote: > On Mar 1, 2007, at 2:43 PM, Reid Spencer wrote: > > > Chris, > > > > I'm wondering if you could look at this patch to > > LoopStrengthReduce.cpp. > > It's the third (last change set) I'm asking about. > > > > I've converted the stride com