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

2007-02-19 Thread Chris Lattner
Changes in directory llvm/include/llvm: Constants.h updated: 1.131 -> 1.132 --- Log message: eliminate some dead friends. --- Diffs of the changes: (+0 -2) Constants.h |2 -- 1 files changed, 2 deletions(-) Index: llvm/include/llvm/Constants.h diff -u llvm/include/llvm/Constants.h:1.

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

2007-02-19 Thread Chris Lattner
Changes in directory llvm/lib/VMCore: Constants.cpp updated: 1.218 -> 1.219 --- Log message: switch ConstantFP's from ValueMap to DenseMap, which is much faster to query and is more memory efficient. --- Diffs of the changes: (+59 -51) Constants.cpp | 110 +++-

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

2007-02-19 Thread Chris Lattner
Changes in directory llvm/lib/VMCore: Constants.cpp updated: 1.217 -> 1.218 --- Log message: cleanup ConstantInt to use a single DenseMap for uniquing instead of the heavy-weight ValueMap class. This reduces mem usage bc reading kc++ by 29K, even though it only creates 2955 constant ints! -

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

2007-02-19 Thread Chris Lattner
Changes in directory llvm/include/llvm: Constants.h updated: 1.130 -> 1.131 --- Log message: cleanup ConstantInt to use a single DenseMap for uniquing instead of the heavy-weight ValueMap class. This reduces mem usage bc reading kc++ by 29K, even though it only creates 2955 constant ints! -

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

2007-02-19 Thread Chris Lattner
Changes in directory llvm/lib/Support: ManagedStatic.cpp updated: 1.2 -> 1.3 --- Log message: Not all managedstatics need object pointers. --- Diffs of the changes: (+1 -1) ManagedStatic.cpp |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm/lib/Support/ManagedStatic.c

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

2007-02-19 Thread Chris Lattner
Changes in directory llvm/lib/VMCore: Constants.cpp updated: 1.216 -> 1.217 --- Log message: Make ConstantInt::getTrue/getFalse be llvm_shutdown safe. --- Diffs of the changes: (+24 -5) Constants.cpp | 29 - 1 files changed, 24 insertions(+), 5 deletions(-)

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

2007-02-19 Thread Chris Lattner
Changes in directory llvm/include/llvm: Constants.h updated: 1.129 -> 1.130 --- Log message: Make ConstantInt::getTrue/getFalse be llvm_shutdown safe. --- Diffs of the changes: (+8 -6) Constants.h | 14 -- 1 files changed, 8 insertions(+), 6 deletions(-) Index: llvm/include

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

2007-02-19 Thread Chris Lattner
Changes in directory llvm/include/llvm/Support: ManagedStatic.h updated: 1.3 -> 1.4 --- Log message: add a way to register an arbitrary cleanup function. --- Diffs of the changes: (+6 -0) ManagedStatic.h |6 ++ 1 files changed, 6 insertions(+) Index: llvm/include/llvm/Support/Man

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

2007-02-19 Thread Chris Lattner
Changes in directory llvm/lib/VMCore: Constants.cpp updated: 1.215 -> 1.216 --- Log message: Clean up the internals of the ConstantInt machinery --- Diffs of the changes: (+6 -9) Constants.cpp | 15 ++- 1 files changed, 6 insertions(+), 9 deletions(-) Index: llvm/lib/VMCore

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

2007-02-19 Thread Chris Lattner
Changes in directory llvm/include/llvm: Constants.h updated: 1.128 -> 1.129 --- Log message: Clean up the internals of the ConstantInt machinery --- Diffs of the changes: (+4 -6) Constants.h | 10 -- 1 files changed, 4 insertions(+), 6 deletions(-) Index: llvm/include/llvm/Cons

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

2007-02-19 Thread Chris Lattner
Changes in directory llvm/lib/VMCore: Constants.cpp updated: 1.214 -> 1.215 --- Log message: simplify some code that was not llvm_shutdown safe --- Diffs of the changes: (+5 -36) Constants.cpp | 41 + 1 files changed, 5 insertions(+), 36 deletions(

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

2007-02-19 Thread Chris Lattner
Changes in directory llvm/lib/Transforms/Instrumentation: EmitFunctions.cpp (r1.29) removed TraceBasicBlocks.cpp (r1.23) removed --- Log message: remove reoptimizer-specific passes --- Diffs of the changes: (+0 -0) 0 files changed ___ llvm-com

[llvm-commits] CVS: llvm/include/llvm/Transforms/Instrumentation.h

2007-02-19 Thread Chris Lattner
Changes in directory llvm/include/llvm/Transforms: Instrumentation.h updated: 1.11 -> 1.12 --- Log message: remove some dead passes and stuff specific to the reoptimizer. --- Diffs of the changes: (+3 -18) Instrumentation.h | 21 +++-- 1 files changed, 3 insertions(+), 18

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

2007-02-19 Thread Chris Lattner
Changes in directory llvm/include/llvm: LinkAllPasses.h updated: 1.9 -> 1.10 --- Log message: remove some passes --- Diffs of the changes: (+0 -2) LinkAllPasses.h |2 -- 1 files changed, 2 deletions(-) Index: llvm/include/llvm/LinkAllPasses.h diff -u llvm/include/llvm/LinkAllPasses.h

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

2007-02-19 Thread Chris Lattner
Changes in directory llvm/lib/VMCore: Type.cpp updated: 1.174 -> 1.175 --- Log message: remove dead method --- Diffs of the changes: (+1 -9) Type.cpp | 10 +- 1 files changed, 1 insertion(+), 9 deletions(-) Index: llvm/lib/VMCore/Type.cpp diff -u llvm/lib/VMCore/Type.cpp:1.174

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

2007-02-19 Thread Evan Cheng
Changes in directory llvm/lib/CodeGen: VirtRegMap.cpp updated: 1.95 -> 1.96 --- Log message: Dead code. --- Diffs of the changes: (+0 -6) VirtRegMap.cpp |6 -- 1 files changed, 6 deletions(-) Index: llvm/lib/CodeGen/VirtRegMap.cpp diff -u llvm/lib/CodeGen/VirtRegMap.cpp:1.95 llvm

Re: [llvm-commits] [123995] Fix PR1170 and test/CFrontend/2007-02-16-VariableSizeStructArg.c

2007-02-19 Thread Duncan Sands
> @@ -108,7 +112,8 @@ > tree Domain = TYPE_DOMAIN(type); > if (!Domain || !TYPE_MIN_VALUE(Domain) || !TYPE_MAX_VALUE(Domain)) >return 0; > -if (TREE_CODE(TYPE_MIN_VALUE(Domain)) != INTEGER_CST || > +if (TREE_CODE(TYPE_SIZE(type)) != INTEGER_CST || > +TREE_CODE(TYPE

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

2007-02-19 Thread Evan Cheng
Changes in directory llvm/lib/Target/X86: X86InstrSSE.td updated: 1.176 -> 1.177 --- Log message: How the heck did I forget patterns for llvm.x86.sse2.cmp.sd? --- Diffs of the changes: (+6 -2) X86InstrSSE.td |8 ++-- 1 files changed, 6 insertions(+), 2 deletions(-) Index: llvm/lib

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

2007-02-19 Thread Reid Spencer
Changes in directory llvm/lib/Target: TargetData.cpp updated: 1.102 -> 1.103 --- Log message: Simplify some code by moving variable declarations into the only block that uses them. --- Diffs of the changes: (+6 -12) TargetData.cpp | 18 ++ 1 files changed, 6 insertions(+)

Re: [llvm-commits] [llvm-gcc] Arbitrary Precition Integer Support

2007-02-19 Thread Reid Spencer
On Mon, 2007-02-19 at 14:41 -0800, Chris Lattner wrote: > On Feb 19, 2007, at 12:37 PM, Reid Spencer wrote: > > > Devang / Jim / Chris, > > > > The attached patch has been reviewed by Devang and provides the > > "bitwidth" attribute and 3 builtin functions for arbitrary precision > > integers (con

Re: [llvm-commits] [llvm-gcc] Arbitrary Precition Integer Support

2007-02-19 Thread Chris Lattner
On Feb 19, 2007, at 12:37 PM, Reid Spencer wrote: > Devang / Jim / Chris, > > The attached patch has been reviewed by Devang and provides the > "bitwidth" attribute and 3 builtin functions for arbitrary precision > integers (concat, bit select, part select). This is the same as the > last > ver

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

2007-02-19 Thread Reid Spencer
Changes in directory llvm/lib/Target: TargetData.cpp updated: 1.101 -> 1.102 --- Log message: Implement support for non-standard integer bit widths of any size. The rules alignment is to pick the alignment that corresponds to the smallest specified alignment that is larger than the bit width

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

2007-02-19 Thread Reid Spencer
Changes in directory llvm/include/llvm/Target: TargetData.h updated: 1.57 -> 1.58 --- Log message: Implement support for non-standard integer bit widths of any size. The rules alignment is to pick the alignment that corresponds to the smallest specified alignment that is larger than the bit w

Re: [llvm-commits] [llvm-gcc] Arbitrary Precition Integer Support

2007-02-19 Thread Reid Spencer
On Mon, 2007-02-19 at 13:55 -0800, Devang Patel wrote: > On Feb 19, 2007, at 12:37 PM, Reid Spencer wrote: > > > Devang / Jim / Chris, > > > > The attached patch has been reviewed by Devang and provides the > > "bitwidth" attribute and 3 builtin functions for arbitrary precision > > integers (conc

[llvm-commits] [124087] The buildit command on X86 was failing because the gcse. o file was being

2007-02-19 Thread bwendlin
Revision: 124087 Author: bwendlin Date: 2007-02-19 14:14:13 -0800 (Mon, 19 Feb 2007) Log Message: --- The buildit command on X86 was failing because the gcse.o file was being included in the garbage collection when LLVM was built into a dylib. (Thanks to Chris for discovering this.)

[llvm-commits] CVS: llvm-test/MultiSource/Applications/SIBsim4/Makefile

2007-02-19 Thread Evan Cheng
Changes in directory llvm-test/MultiSource/Applications/SIBsim4: Makefile updated: 1.1 -> 1.2 --- Log message: Fix RUN_OPTIONS. --- Diffs of the changes: (+1 -1) Makefile |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm-test/MultiSource/Applications/SIBsim4/Makefile d

Re: [llvm-commits] [llvm-gcc] Arbitrary Precition Integer Support

2007-02-19 Thread Devang Patel
On Feb 19, 2007, at 12:37 PM, Reid Spencer wrote: > Devang / Jim / Chris, > > The attached patch has been reviewed by Devang and provides the > "bitwidth" attribute and 3 builtin functions for arbitrary precision > integers (concat, bit select, part select). This is the same as the > last > ver

[llvm-commits] CVS: llvm/test/CodeGen/X86/2007-02-19-LiveIntervalAssert.cpp

2007-02-19 Thread Evan Cheng
Changes in directory llvm/test/CodeGen/X86: 2007-02-19-LiveIntervalAssert.cpp added (r1.1) --- Log message: Added test case for PR1207: http://llvm.org/PR1207 . --- Diffs of the changes: (+21 -0) 2007-02-19-LiveIntervalAssert.cpp | 21 + 1 files changed, 21 insertions(

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

2007-02-19 Thread Evan Cheng
Changes in directory llvm/lib/Target/PowerPC: PPCRegisterInfo.cpp updated: 1.107 -> 1.108 PPCRegisterInfo.h updated: 1.26 -> 1.27 --- Log message: Re-apply my liveintervalanalysis changes. Now with PR1207: http://llvm.org/PR1207 fixes. --- Diffs of the changes: (+32 -9) PPCRegisterInfo.cp

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

2007-02-19 Thread Evan Cheng
Changes in directory llvm/include/llvm/Target: MRegisterInfo.h updated: 1.93 -> 1.94 --- Log message: Re-apply my liveintervalanalysis changes. Now with PR1207: http://llvm.org/PR1207 fixes. --- Diffs of the changes: (+17 -0) MRegisterInfo.h | 17 + 1 files changed, 17 i

[llvm-commits] CVS: llvm/lib/Target/Alpha/AlphaRegisterInfo.cpp AlphaRegisterInfo.h

2007-02-19 Thread Evan Cheng
Changes in directory llvm/lib/Target/Alpha: AlphaRegisterInfo.cpp updated: 1.59 -> 1.60 AlphaRegisterInfo.h updated: 1.19 -> 1.20 --- Log message: Re-apply my liveintervalanalysis changes. Now with PR1207: http://llvm.org/PR1207 fixes. --- Diffs of the changes: (+11 -0) AlphaRegisterInfo.

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

2007-02-19 Thread Evan Cheng
Changes in directory llvm/lib/Target: MRegisterInfo.cpp updated: 1.21 -> 1.22 --- Log message: Re-apply my liveintervalanalysis changes. Now with PR1207: http://llvm.org/PR1207 fixes. --- Diffs of the changes: (+1 -1) MRegisterInfo.cpp |2 +- 1 files changed, 1 insertion(+), 1 deletio

[llvm-commits] CVS: llvm/lib/Target/IA64/IA64RegisterInfo.cpp IA64RegisterInfo.h

2007-02-19 Thread Evan Cheng
Changes in directory llvm/lib/Target/IA64: IA64RegisterInfo.cpp updated: 1.30 -> 1.31 IA64RegisterInfo.h updated: 1.13 -> 1.14 --- Log message: Re-apply my liveintervalanalysis changes. Now with PR1207: http://llvm.org/PR1207 fixes. --- Diffs of the changes: (+16 -0) IA64RegisterInfo.cpp

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

2007-02-19 Thread Evan Cheng
Changes in directory llvm/include/llvm/CodeGen: LiveIntervalAnalysis.h updated: 1.70 -> 1.71 LiveVariables.h updated: 1.34 -> 1.35 MachineBasicBlock.h updated: 1.57 -> 1.58 MachineInstr.h updated: 1.211 -> 1.212 --- Log message: Re-apply my liveintervalanalysis changes. Now with PR1207: http:/

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

2007-02-19 Thread Evan Cheng
Changes in directory llvm/lib/Target/X86: X86RegisterInfo.cpp updated: 1.202 -> 1.203 X86RegisterInfo.h updated: 1.47 -> 1.48 --- Log message: Re-apply my liveintervalanalysis changes. Now with PR1207: http://llvm.org/PR1207 fixes. --- Diffs of the changes: (+22 -0) X86RegisterInfo.cpp |

[llvm-commits] CVS: llvm/lib/Target/Sparc/SparcRegisterInfo.cpp SparcRegisterInfo.h

2007-02-19 Thread Evan Cheng
Changes in directory llvm/lib/Target/Sparc: SparcRegisterInfo.cpp updated: 1.53 -> 1.54 SparcRegisterInfo.h updated: 1.19 -> 1.20 --- Log message: Re-apply my liveintervalanalysis changes. Now with PR1207: http://llvm.org/PR1207 fixes. --- Diffs of the changes: (+19 -0) SparcRegisterInfo.

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

2007-02-19 Thread Evan Cheng
Changes in directory llvm/lib/CodeGen: LiveIntervalAnalysis.cpp updated: 1.208 -> 1.209 LiveVariables.cpp updated: 1.67 -> 1.68 MachineBasicBlock.cpp updated: 1.41 -> 1.42 MachineInstr.cpp updated: 1.143 -> 1.144 RegAllocLinearScan.cpp updated: 1.139 -> 1.140 --- Log message: Re-apply my livein

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

2007-02-19 Thread Evan Cheng
Changes in directory llvm/lib/Target/ARM: ARMRegisterInfo.cpp updated: 1.68 -> 1.69 ARMRegisterInfo.h updated: 1.9 -> 1.10 --- Log message: Re-apply my liveintervalanalysis changes. Now with PR1207: http://llvm.org/PR1207 fixes. --- Diffs of the changes: (+17 -0) ARMRegisterInfo.cpp | 1

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

2007-02-19 Thread Evan Cheng
Changes in directory llvm/test/CodeGen/PowerPC: LargeAbsoluteAddr.ll updated: 1.2 -> 1.3 --- Log message: Fix test case. --- Diffs of the changes: (+3 -3) LargeAbsoluteAddr.ll |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) Index: llvm/test/CodeGen/PowerPC/LargeAbsoluteAdd

[llvm-commits] [llvm-gcc] Arbitrary Precition Integer Support

2007-02-19 Thread Reid Spencer
Devang / Jim / Chris, The attached patch has been reviewed by Devang and provides the "bitwidth" attribute and 3 builtin functions for arbitrary precision integers (concat, bit select, part select). This is the same as the last version except it has an additional check for a null pointer that prod

[llvm-commits] CVS: llvm/test/CFrontend/2007-02-04-WITH_SIZE_EXPR.c

2007-02-19 Thread Chris Lattner
Changes in directory llvm/test/CFrontend: 2007-02-04-WITH_SIZE_EXPR.c updated: 1.1 -> 1.2 --- Log message: this passes now --- Diffs of the changes: (+0 -1) 2007-02-04-WITH_SIZE_EXPR.c |1 - 1 files changed, 1 deletion(-) Index: llvm/test/CFrontend/2007-02-04-WITH_SIZE_EXPR.c diff -u

[llvm-commits] [124086] don't dereference a null type-size field.

2007-02-19 Thread clattner
Revision: 124086 Author: clattner Date: 2007-02-19 12:15:12 -0800 (Mon, 19 Feb 2007) Log Message: --- don't dereference a null type-size field. Modified Paths: -- apple-local/branches/llvm/gcc/llvm-types.cpp Modified: apple-local/branches/llvm/gcc/llvm-types.cpp ===

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

2007-02-19 Thread Chris Lattner
Changes in directory llvm/include/llvm: Constants.h updated: 1.127 -> 1.128 --- Log message: llvm-gcc issue fixed, revert reversal :) --- Diffs of the changes: (+0 -14) Constants.h | 14 -- 1 files changed, 14 deletions(-) Index: llvm/include/llvm/Constants.h diff -u llvm/i

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

2007-02-19 Thread Chris Lattner
Changes in directory llvm/lib/VMCore: Constants.cpp updated: 1.213 -> 1.214 --- Log message: llvm-gcc issue fixed, revert reversal :) --- Diffs of the changes: (+15 -20) Constants.cpp | 35 +++ 1 files changed, 15 insertions(+), 20 deletions(-) Index: ll

[llvm-commits] [124085] adjust to new ConstantExpr API.

2007-02-19 Thread clattner
Revision: 124085 Author: clattner Date: 2007-02-19 11:51:56 -0800 (Mon, 19 Feb 2007) Log Message: --- adjust to new ConstantExpr API. Modified Paths: -- apple-local/branches/llvm/gcc/llvm-convert.cpp Modified: apple-local/branches/llvm/gcc/llvm-convert.cpp =

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

2007-02-19 Thread Chris Lattner
Changes in directory llvm/lib/VMCore: Instruction.cpp updated: 1.68 -> 1.69 --- Log message: remove warning --- Diffs of the changes: (+2 -2) Instruction.cpp |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) Index: llvm/lib/VMCore/Instruction.cpp diff -u llvm/lib/VMCore/Instr

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

2007-02-19 Thread Evan Cheng
Changes in directory llvm/lib/VMCore: Constants.cpp updated: 1.212 -> 1.213 --- Log message: Temporarily reverting the patch. It's breaking llvm-gcc build. --- Diffs of the changes: (+20 -15) Constants.cpp | 35 --- 1 files changed, 20 insertions(+), 15 del

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

2007-02-19 Thread Evan Cheng
Changes in directory llvm/include/llvm: Constants.h updated: 1.126 -> 1.127 --- Log message: Temporarily reverting the patch. It's breaking llvm-gcc build. --- Diffs of the changes: (+14 -0) Constants.h | 14 ++ 1 files changed, 14 insertions(+) Index: llvm/include/llvm/Cons

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

2007-02-19 Thread Reid Spencer
Changes in directory llvm/lib/VMCore: Instruction.cpp updated: 1.67 -> 1.68 --- Log message: Add a FIXME for unwritten code. --- Diffs of the changes: (+2 -0) Instruction.cpp |2 ++ 1 files changed, 2 insertions(+) Index: llvm/lib/VMCore/Instruction.cpp diff -u llvm/lib/VMCore/Instru

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

2007-02-19 Thread Bill Wendling
Changes in directory llvm/docs: DeveloperPolicy.html updated: 1.33 -> 1.34 --- Log message: Corrected typo. --- 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/Develop

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

2007-02-19 Thread Reid Spencer
Changes in directory llvm/docs: DeveloperPolicy.html updated: 1.32 -> 1.33 --- Log message: Some minor tweaks and grammar cleanup. --- Diffs of the changes: (+14 -14) DeveloperPolicy.html | 28 ++-- 1 files changed, 14 insertions(+), 14 deletions(-) Index: llvm/

Re: [llvm-commits] llvm-gcc4: display the LLVM type when printing type trees

2007-02-19 Thread Duncan Sands
> Very cool. However, it doesn't apply to CVS right. GET_TYPE_LLVM > needs to go through the LTypes vector now, can you plz update the patch? Here you go. I put GET_TYPE_LLVM back into tree.h (it was moved into llvm-types.cpp recently) so that print-tree.c can get at it. I only made a C vers