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

2007-02-20 Thread Reid Spencer
Changes in directory llvm/include/llvm/ADT: APInt.h updated: 1.14 -> 1.15 --- Log message: Add an internal convenience method for division that urem and udiv use. --- Diffs of the changes: (+5 -0) APInt.h |5 + 1 files changed, 5 insertions(+) Index: llvm/include/llvm/ADT/APInt.h

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

2007-02-20 Thread Reid Spencer
Changes in directory llvm/lib/Support: APInt.cpp updated: 1.21 -> 1.22 --- Log message: First version that can process arith.cpp test case up to 1024 bits: 1. Ensure pVal is set to 0 in each constructor. 2. Fix roundToDouble to make correct calculations and not read beyond the end of allocat

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

2007-02-20 Thread Andrew Lenharth
Changes in directory llvm/lib/Target/X86: X86TargetAsmInfo.cpp updated: 1.7 -> 1.7.4.1 --- Log message: Backport fix to [see] --- Diffs of the changes: (+1 -1) X86TargetAsmInfo.cpp |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm/lib/Target/X86/X86TargetAsmInfo.cpp di

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

2007-02-20 Thread Andrew Lenharth
Changes in directory llvm/lib/Target/CBackend: Writer.cpp updated: 1.280 -> 1.280.4.1 --- Log message: section support for CBE, may want to port this to head --- Diffs of the changes: (+2 -0) Writer.cpp |2 ++ 1 files changed, 2 insertions(+) Index: llvm/lib/Target/CBackend/Writer.cpp

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

2007-02-20 Thread Reid Spencer
Changes in directory llvm/lib/Support: APInt.cpp updated: 1.22 -> 1.23 --- Log message: Use INFINITY macro from math.h instead of constructing hex floating point constants (avoids warnings). --- Diffs of the changes: (+3 -2) APInt.cpp |5 +++-- 1 files changed, 3 insertions(+), 2 delet

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

2007-02-20 Thread Evan Cheng
Hi Reid, This breaks the build for me. $ make ENABLE_OPTIMIZED=1 -j2 make[1]: Nothing to be done for `all'. llvm[1]: Compiling Annotation.cpp for Release build llvm[1]: Compiling APInt.cpp for Release build APInt.cpp:841: error: floating constant exceeds range of 'float' APInt.cpp:843: error: flo

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

2007-02-20 Thread Chris Lattner
On Feb 20, 2007, at 11:13 AM, Evan Cheng wrote: > Hi Reid, > This breaks the build for me. > > $ make ENABLE_OPTIMIZED=1 -j2 > make[1]: Nothing to be done for `all'. > llvm[1]: Compiling Annotation.cpp for Release build > llvm[1]: Compiling APInt.cpp for Release build > APInt.cpp:841: error: floati

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

2007-02-20 Thread Reid Spencer
Changes in directory llvm-test/SingleSource/UnitTests/Integer/APInt: arith.cpp updated: 1.10 -> 1.11 --- Log message: Consolidate code, expand testing to more values. --- Diffs of the changes: (+55 -18) arith.cpp | 73 ++ 1 file

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

2007-02-20 Thread Reid Spencer
Changes in directory llvm/lib/Support: APInt.cpp updated: 1.23 -> 1.24 --- Log message: Clean up variable names in operator*. Attempt #3 for getting a portable INFINITY value. --- Diffs of the changes: (+8 -8) APInt.cpp | 16 1 files changed, 8 insertions(+), 8 deletions

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

2007-02-20 Thread Reid Spencer
Changes in directory llvm-test/SingleSource/UnitTests/Integer/APInt: gptest.cpp added (r1.1) --- Log message: A test program to test APInt against the results produced by pari/gp. If there's no output other than the bit size banners, everything is fine. If outputs vary from pari/gp, they are pr

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

2007-02-20 Thread Dan Gohman
Changes in directory llvm/lib/Transforms/Utils: InlineFunction.cpp updated: 1.53 -> 1.54 --- Log message: Fix typos in comments. --- Diffs of the changes: (+1 -1) InlineFunction.cpp |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm/lib/Transforms/Utils/InlineFunction.

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

2007-02-20 Thread Dan Gohman
Changes in directory llvm/lib/Target: Target.td updated: 1.92 -> 1.93 --- Log message: Fix typos in comments. --- Diffs of the changes: (+1 -1) Target.td |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm/lib/Target/Target.td diff -u llvm/lib/Target/Target.td:1.92 llvm

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

2007-02-20 Thread Evan Cheng
Changes in directory llvm/lib/VMCore: Constants.cpp updated: 1.219 -> 1.220 --- Log message: This cast broke lots of tests. --- Diffs of the changes: (+1 -1) Constants.cpp |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm/lib/VMCore/Constants.cpp diff -u llvm/lib/VMCor

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

2007-02-20 Thread Reid Spencer
Changes in directory llvm/lib/Support: APInt.cpp updated: 1.24 -> 1.25 --- Log message: Make long addition and subtraction work. Speed things up by using internal functions more. --- Diffs of the changes: (+69 -72) APInt.cpp | 141 ++

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

2007-02-20 Thread Reid Spencer
Changes in directory llvm/lib/Support: APInt.cpp updated: 1.25 -> 1.26 --- Log message: Fix countLeadingZeros to actually return the correct number. Fix toString to correctly return "0" for zero valued APInts over 128 bits. --- Diffs of the changes: (+13 -11) APInt.cpp | 24 +

[llvm-commits] [124123] Converts "getOrInsertFunction" calls to "Intrinsic::getDeclaration " calls for

2007-02-20 Thread bwendlin
Revision: 124123 Author: bwendlin Date: 2007-02-20 16:45:58 -0800 (Tue, 20 Feb 2007) Log Message: --- Converts "getOrInsertFunction" calls to "Intrinsic::getDeclaration" calls for PR1189. It also gets rid of the function caching mechanism, so that it's multi-module safe. Modified Pa

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

2007-02-20 Thread Evan Cheng
Changes in directory llvm/lib/CodeGen: VirtRegMap.cpp updated: 1.96 -> 1.97 --- Log message: Use BitVector instead. No functionality change. --- Diffs of the changes: (+5 -8) VirtRegMap.cpp | 13 + 1 files changed, 5 insertions(+), 8 deletions(-) Index: llvm/lib/CodeGen/Virt

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

2007-02-20 Thread Evan Cheng
Changes in directory llvm/lib/CodeGen: LiveIntervalAnalysis.cpp updated: 1.209 -> 1.210 --- Log message: Out of bound reference. --- Diffs of the changes: (+2 -2) LiveIntervalAnalysis.cpp |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) Index: llvm/lib/CodeGen/LiveIntervalAna

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

2007-02-20 Thread Devang Patel
Changes in directory llvm/include/llvm/Analysis: ET-Forest.h updated: 1.7 -> 1.8 --- Log message: Fix memory leak (PR 775: http://llvm.org/PR775 ). --- Diffs of the changes: (+2 -0) ET-Forest.h |2 ++ 1 files changed, 2 insertions(+) Index: llvm/include/llvm/Analysis/ET-Forest.h diff

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

2007-02-20 Thread Reid Spencer
Changes in directory llvm/lib/Support: APInt.cpp updated: 1.26 -> 1.27 --- Log message: 1. Add a dump() method for faster debugging. 2. Change 0 initialization of union to larger component so all is zeroed. 3. Fix the borrow logic in subtraction so it works for > 128 bits. 4. Rewrite fromString

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

2007-02-20 Thread Reid Spencer
Changes in directory llvm/include/llvm/ADT: APInt.h updated: 1.15 -> 1.16 --- Log message: Add a dump() method for debugging. --- Diffs of the changes: (+7 -2) APInt.h |9 +++-- 1 files changed, 7 insertions(+), 2 deletions(-) Index: llvm/include/llvm/ADT/APInt.h diff -u llvm/inc

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

2007-02-20 Thread Reid Spencer
Changes in directory llvm/lib/Support: APInt.cpp updated: 1.27 -> 1.28 --- Log message: Fix the carry in addition. --- Diffs of the changes: (+2 -2) APInt.cpp |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) Index: llvm/lib/Support/APInt.cpp diff -u llvm/lib/Support/APInt.cp

[llvm-commits] CVS: llvm/Makefile

2007-02-20 Thread Chris Lattner
Changes in directory llvm: Makefile updated: 1.69 -> 1.70 --- Log message: revert r1.68. This breaks 'make install' without doing 'make' first, but fixes PR1208: http://llvm.org/PR1208 . --- Diffs of the changes: (+7 -0) Makefile |7 +++ 1 files changed, 7 insertions(+) Index: l

Re: [llvm-commits] CVS: llvm/Makefile

2007-02-20 Thread Reid Spencer
On Wed, 2007-02-21 at 00:23 -0600, Chris Lattner wrote: > > Changes in directory llvm: > > Makefile updated: 1.69 -> 1.70 > --- > Log message: > > revert r1.68. This breaks 'make install' without doing 'make' first, but > fixes PR1208: http://llvm.org/PR1208 . This isn't correct. I implemented

Re: [llvm-commits] CVS: llvm/Makefile

2007-02-20 Thread Chris Lattner
>> revert r1.68. This breaks 'make install' without doing 'make' >> first, but >> fixes PR1208: http://llvm.org/PR1208 . > > This isn't correct. I'm aware of that, which is why I mentioned that in the commit message. I'm just repairing the regression by reverting the offending patch: if yo

Re: [llvm-commits] CVS: llvm/Makefile

2007-02-20 Thread Reid Spencer
On Tue, 2007-02-20 at 23:23 -0800, Chris Lattner wrote: > >> revert r1.68. This breaks 'make install' without doing 'make' > >> first, but > >> fixes PR1208: http://llvm.org/PR1208 . > > > > This isn't correct. > > I'm aware of that, which is why I mentioned that in the commit > message. I'm