[llvm-commits] CVS: llvm/test/CodeGen/ARM/dyn-stackalloc.ll

2007-02-05 Thread Evan Cheng
Changes in directory llvm/test/CodeGen/ARM: dyn-stackalloc.ll added (r1.1) --- Log message: Add a DYNAMIC_STACKALLOC test case. --- Diffs of the changes: (+30 -0) dyn-stackalloc.ll | 30 ++ 1 files changed, 30 insertions(+) Index: llvm/test/CodeGen/ARM/dyn-st

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

2007-02-05 Thread Evan Cheng
Changes in directory llvm/lib/Target/ARM: ARMRegisterInfo.cpp updated: 1.57 -> 1.58 --- Log message: foldMemoryOperand() cannot fold tMOVrr sp into load / store in thumb mode. tLDRspi / tSTRspi cannot target / store high registers. --- Diffs of the changes: (+19 -13) ARMRegisterInfo.cpp |

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

2007-02-05 Thread Chris Lattner
Changes in directory llvm/lib/CodeGen: IntrinsicLowering.cpp updated: 1.64 -> 1.65 --- Log message: Fix PR1181: http://llvm.org/PR1181 and CodeGen/CBackend/2007-02-05-memset.ll --- Diffs of the changes: (+16 -6) IntrinsicLowering.cpp | 22 -- 1 files changed, 16 inse

[llvm-commits] CVS: llvm/test/CodeGen/CBackend/2007-02-05-memset.ll

2007-02-05 Thread Chris Lattner
Changes in directory llvm/test/CodeGen/CBackend: 2007-02-05-memset.ll added (r1.1) --- Log message: testcase for pr1181: http://llvm.org/PR1181 --- Diffs of the changes: (+14 -0) 2007-02-05-memset.ll | 14 ++ 1 files changed, 14 insertions(+) Index: llvm/test/CodeGen/CBack

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

2007-02-05 Thread Zhou Sheng
Changes in directory llvm/lib/Support: APInt.cpp updated: 1.2 -> 1.3 --- Log message: As Reid suggested, fixed some problems. --- Diffs of the changes: (+143 -150) APInt.cpp | 293 ++ 1 files changed, 143 insertions(+), 150 delet

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

2007-02-05 Thread Zhou Sheng
Changes in directory llvm/include/llvm/ADT: APInt.h updated: 1.1 -> 1.2 --- Log message: As Reid suggested, fixed some problems. --- Diffs of the changes: (+110 -182) APInt.h | 292 1 files changed, 110 insertions(+), 182 de

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

2007-02-05 Thread Chris Lattner
> + #include "llvm/ADT/APInt.h" > + #include "llvm/DerivedTypes.h" > + #include "llvm/Support/MathExtras.h" > + #include strings.h is not portable. Please use , and memcpy/memset/ etc instead of bzero and friends. I've #ifdef'd this file out temporarily until this is resolved. > + #include

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

2007-02-05 Thread Chris Lattner
Changes in directory llvm/lib/Support: APInt.cpp updated: 1.1 -> 1.2 --- Log message: Disable this for now. --- Diffs of the changes: (+5 -0) APInt.cpp |5 + 1 files changed, 5 insertions(+) Index: llvm/lib/Support/APInt.cpp diff -u llvm/lib/Support/APInt.cpp:1.1 llvm/lib/Suppor

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

2007-02-05 Thread Zhou Sheng
Changes in directory llvm-test/SingleSource/UnitTests/Integer/APInt: arith.cpp updated: 1.1 -> 1.2 bigint.cpp updated: 1.1 -> 1.2 bitlogic.cpp updated: 1.1 -> 1.2 sign.cpp updated: 1.1 -> 1.2 --- Log message: Modify these test cases as APInt changed. --- Diffs of the changes: (+41 -40) ari

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

2007-02-05 Thread Zhou Sheng
Changes in directory llvm/lib/Support: APInt.cpp added (r1.1) --- Log message: Add a class APInt to represent arbitrary precision constant integral values. It is a functional replacement for common case integer type like "unsigned", "uint64_t", but also allows non-byte-width integer type and la

[llvm-commits] CVS: llvm-test/SingleSource/UnitTests/Integer/bit_select.c bit_select.reference_output

2007-02-05 Thread Reid Spencer
Changes in directory llvm-test/SingleSource/UnitTests/Integer: bit_select.c added (r1.1) bit_select.reference_output added (r1.1) --- Log message: Test for the bit_select builtin function. --- Diffs of the changes: (+47 -0) bit_select.c| 45 +++

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

2007-02-05 Thread Reid Spencer
Changes in directory llvm-test/SingleSource/UnitTests/Integer: Makefile updated: 1.5 -> 1.6 --- Log message: Allow the test suite to optional select large integer tests (>64 bits) --- Diffs of the changes: (+6 -0) Makefile |6 ++ 1 files changed, 6 insertions(+) Index: llvm-test/

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

2007-02-05 Thread Chris Lattner
Changes in directory llvm/lib/VMCore: ConstantFolding.cpp updated: 1.134 -> 1.135 --- Log message: Fix Transforms/ConstProp/2007-02-05-BitCast.ll --- Diffs of the changes: (+5 -1) ConstantFolding.cpp |6 +- 1 files changed, 5 insertions(+), 1 deletion(-) Index: llvm/lib/VMCore/Co

[llvm-commits] CVS: llvm/test/Transforms/ConstProp/2007-02-05-BitCast.ll

2007-02-05 Thread Chris Lattner
Changes in directory llvm/test/Transforms/ConstProp: 2007-02-05-BitCast.ll added (r1.1) --- Log message: Testcase for miscompilation --- Diffs of the changes: (+7 -0) 2007-02-05-BitCast.ll |7 +++ 1 files changed, 7 insertions(+) Index: llvm/test/Transforms/ConstProp/2007-02-05-B

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

2007-02-05 Thread Chris Lattner
Changes in directory llvm/lib/CodeGen: AsmPrinter.cpp updated: 1.145 -> 1.146 --- Log message: Oops, swap this. This fixes a regression I introduced in the ARM backend. --- Diffs of the changes: (+1 -1) AsmPrinter.cpp |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm

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

2007-02-05 Thread Evan Cheng
Changes in directory llvm/lib/Target/ARM: ARMRegisterInfo.cpp updated: 1.56 -> 1.57 --- Log message: eliminateFrameIndex() bug when frame pointer is used as base register. --- Diffs of the changes: (+27 -23) ARMRegisterInfo.cpp | 50 +++--- 1 f

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

2007-02-05 Thread Evan Cheng
Changes in directory llvm/lib/Target/ARM: ARMISelDAGToDAG.cpp updated: 1.104 -> 1.105 --- Log message: - Store val, [sp, c] must be selected to tSTRsp. - If c does not fit in the offset field, materialize sp + c into a register using tADDhirr. --- Diffs of the changes: (+34 -4) ARMISelDA

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

2007-02-05 Thread Reid Spencer
Changes in directory llvm/lib/Target: TargetData.cpp updated: 1.84 -> 1.85 --- Log message: Although targets are not required to support integers > 64bits, TargetData must in order for backends that do want to support large integer types to be able to function. Consequently, don't assert if th

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

2007-02-05 Thread Reid Spencer
Changes in directory llvm/lib/VMCore: Constants.cpp updated: 1.208 -> 1.209 --- Log message: A value of 64 or fewer bits is valid if the ConstantInt has more then 64 bits. --- Diffs of the changes: (+2 -4) Constants.cpp |6 ++ 1 files changed, 2 insertions(+), 4 deletions(-) Inde

[llvm-commits] CVS: llvm/lib/Analysis/AliasAnalysisCounter.cpp AliasAnalysisEvaluator.cpp AliasDebugger.cpp AliasSetTracker.cpp BasicAliasAnalysis.cpp CFGPrinter.cpp InstCount.cpp LoadValueNumbering.c

2007-02-05 Thread Reid Spencer
Changes in directory llvm/lib/Analysis: AliasAnalysisCounter.cpp updated: 1.19 -> 1.20 AliasAnalysisEvaluator.cpp updated: 1.32 -> 1.33 AliasDebugger.cpp updated: 1.2 -> 1.3 AliasSetTracker.cpp updated: 1.45 -> 1.46 BasicAliasAnalysis.cpp updated: 1.102 -> 1.103 CFGPrinter.cpp updated: 1.21 -> 1

[llvm-commits] CVS: llvm/lib/Analysis/IPA/Andersens.cpp CallGraph.cpp GlobalsModRef.cpp

2007-02-05 Thread Reid Spencer
Changes in directory llvm/lib/Analysis/IPA: Andersens.cpp updated: 1.44 -> 1.45 CallGraph.cpp updated: 1.64 -> 1.65 GlobalsModRef.cpp updated: 1.28 -> 1.29 --- Log message: Make classes in anonymous namespaces use VISIBILITY_HIDDEN to help reduce LLVM's footprint and speed up linking. --- Dif

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

2007-02-05 Thread Chris Lattner
Changes in directory llvm/lib/Transforms/Utils: PromoteMemoryToRegister.cpp updated: 1.91 -> 1.92 --- Log message: With the last change, we no longer need both directions of mapping from BBNumbers. Instead of using a bi-directional mapping, just use a single densemap. This speeds up mem2reg

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

2007-02-05 Thread Reid Spencer
Changes in directory llvm/lib/Transforms/Instrumentation: BlockProfiling.cpp updated: 1.21 -> 1.22 EdgeProfiling.cpp updated: 1.11 -> 1.12 EmitFunctions.cpp updated: 1.28 -> 1.29 RSProfiling.cpp updated: 1.18 -> 1.19 TraceBasicBlocks.cpp updated: 1.22 -> 1.23 --- Log message: Apply the VISIBILI

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

2007-02-05 Thread Reid Spencer
Changes in directory llvm/lib/Transforms/Utils: CloneFunction.cpp updated: 1.41 -> 1.42 CodeExtractor.cpp updated: 1.48 -> 1.49 LCSSA.cpp updated: 1.34 -> 1.35 LowerSelect.cpp updated: 1.9 -> 1.10 --- Log message: Apply the VISIBILITY_HIDDEN field to the remaining anonymous classes in the Trans

[llvm-commits] CVS: llvm/lib/Transforms/IPO/ArgumentPromotion.cpp ConstantMerge.cpp DeadArgumentElimination.cpp DeadTypeElimination.cpp ExtractFunction.cpp GlobalDCE.cpp GlobalOpt.cpp IPConstantPropag

2007-02-05 Thread Reid Spencer
Changes in directory llvm/lib/Transforms/IPO: ArgumentPromotion.cpp updated: 1.34 -> 1.35 ConstantMerge.cpp updated: 1.34 -> 1.35 DeadArgumentElimination.cpp updated: 1.36 -> 1.37 DeadTypeElimination.cpp updated: 1.61 -> 1.62 ExtractFunction.cpp updated: 1.18 -> 1.19 GlobalDCE.cpp updated: 1.41

[llvm-commits] CVS: llvm/lib/Transforms/Scalar/ADCE.cpp BasicBlockPlacement.cpp CondPropagate.cpp ConstantProp.cpp CorrelatedExprs.cpp DCE.cpp DeadStoreElimination.cpp GCSE.cpp IndVarSimplify.cpp LICM

2007-02-05 Thread Reid Spencer
Changes in directory llvm/lib/Transforms/Scalar: ADCE.cpp updated: 1.101 -> 1.102 BasicBlockPlacement.cpp updated: 1.8 -> 1.9 CondPropagate.cpp updated: 1.15 -> 1.16 ConstantProp.cpp updated: 1.55 -> 1.56 CorrelatedExprs.cpp updated: 1.51 -> 1.52 DCE.cpp updated: 1.62 -> 1.63 DeadStoreEliminatio

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

2007-02-05 Thread Chris Lattner
Changes in directory llvm/lib/Transforms/Utils: PromoteMemoryToRegister.cpp updated: 1.90 -> 1.91 --- Log message: Simplify use of DFBlocks, this makes no noticable performance difference, but paves the way to eliminate BBNumbers. --- Diffs of the changes: (+3 -3) PromoteMemoryToRegister.c

[llvm-commits] CVS: llvm/lib/Transforms/TransformInternals.h

2007-02-05 Thread LLVM
Changes in directory llvm/lib/Transforms: TransformInternals.h (r1.28) removed --- Log message: This file should have been removed when -raise was removed. It isn't used any more. --- Diffs of the changes: (+0 -0) 0 files changed ___ llvm-comm

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

2007-02-05 Thread Chris Lattner
Changes in directory llvm/include/llvm/ADT: UniqueVector.h updated: 1.7 -> 1.8 --- Log message: Simplify this a bit, add an assertion --- Diffs of the changes: (+10 -11) UniqueVector.h | 21 ++--- 1 files changed, 10 insertions(+), 11 deletions(-) Index: llvm/include/ll

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

2007-02-05 Thread Chris Lattner
Changes in directory llvm/include/llvm/Support: StableBasicBlockNumbering.h updated: 1.2 -> 1.3 --- Log message: StableBasicBlockNumbering is conceptually just a wrapper around UniqueVector, so we should actually use a UniqueVector to implement it. --- Diffs of the changes: (+11 -22) Stabl

[llvm-commits] CVS: llvm/Makefile

2007-02-05 Thread Reid Spencer
Changes in directory llvm: Makefile updated: 1.68 -> 1.69 --- Log message: Add a show-footprint target to run du a few times to show how much disk space a build tree's objects are consuming. --- Diffs of the changes: (+6 -0) Makefile |6 ++ 1 files changed, 6 insertions(+) Index:

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

2007-02-05 Thread Chris Lattner
Changes in directory llvm/include/llvm/ADT: UniqueVector.h updated: 1.6 -> 1.7 --- Log message: Const method must use const_iterator. --- Diffs of the changes: (+1 -2) UniqueVector.h |3 +-- 1 files changed, 1 insertion(+), 2 deletions(-) Index: llvm/include/llvm/ADT/UniqueVector.h d

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

2007-02-05 Thread Chris Lattner
Changes in directory llvm/lib/Transforms/Utils: PromoteMemoryToRegister.cpp updated: 1.89 -> 1.90 --- Log message: Switch InsertedPHINodes back to SmallPtrSet now that the SmallPtrSet::erase bug is fixed. --- Diffs of the changes: (+6 -6) PromoteMemoryToRegister.cpp | 12 ++-- 1

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

2007-02-05 Thread Chris Lattner
Changes in directory llvm/lib/Support: SmallPtrSet.cpp updated: 1.3 -> 1.4 --- Log message: Fix a bug in smallptrset::erase: in the small case, return true if the element was in the set. --- Diffs of the changes: (+1 -1) SmallPtrSet.cpp |2 +- 1 files changed, 1 insertion(+), 1 deleti

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

2007-02-05 Thread Chris Lattner
Changes in directory llvm/lib/Transforms/Utils: PromoteMemoryToRegister.cpp updated: 1.88 -> 1.89 --- Log message: switch a SmallPtrSet back to an std::set for now, this caused problems. --- Diffs of the changes: (+6 -6) PromoteMemoryToRegister.cpp | 12 ++-- 1 files changed, 6 i

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

2007-02-05 Thread Chris Lattner
Changes in directory llvm/lib/Transforms/Utils: PromoteMemoryToRegister.cpp updated: 1.87 -> 1.88 --- Log message: switch an std::set over to a SmallPtrSet, speeding up mem2reg 6% on 176.gcc. --- Diffs of the changes: (+1 -1) PromoteMemoryToRegister.cpp |2 +- 1 files changed, 1 insert

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

2007-02-05 Thread Chris Lattner
Changes in directory llvm/lib/Transforms/Utils: PromoteMemoryToRegister.cpp updated: 1.86 -> 1.87 --- Log message: switch an std::set over to SmallPtrSet, speeding up mem2reg 3.4% on 176.gcc. --- Diffs of the changes: (+13 -16) PromoteMemoryToRegister.cpp | 29 +--

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

2007-02-05 Thread Chris Lattner
Changes in directory llvm/lib/Transforms/Utils: PromoteMemoryToRegister.cpp updated: 1.85 -> 1.86 --- Log message: eliminate some malloc traffic, this speeds up mem2reg by 3.4%. --- Diffs of the changes: (+8 -5) PromoteMemoryToRegister.cpp | 13 - 1 files changed, 8 insertio

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

2007-02-05 Thread Reid Spencer
Changes in directory llvm/lib/Transforms/IPO: StripDeadPrototypes.cpp updated: 1.2 -> 1.3 --- Log message: Add missing and needed #include. --- Diffs of the changes: (+1 -0) StripDeadPrototypes.cpp |1 + 1 files changed, 1 insertion(+) Index: llvm/lib/Transforms/IPO/StripDeadPrototyp

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

2007-02-05 Thread Reid Spencer
Changes in directory llvm/lib/Transforms/IPO: StripDeadPrototypes.cpp updated: 1.1 -> 1.2 --- Log message: Make the class VISIBILITY_HIDDEN. Reduce lexical size of the anonymous namespace. --- Diffs of the changes: (+3 -3) StripDeadPrototypes.cpp |6 +++--- 1 files changed, 3 insertion

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

2007-02-05 Thread Chris Lattner
Changes in directory llvm/lib/CodeGen: AsmPrinter.cpp updated: 1.144 -> 1.145 --- Log message: Fix PR1178: http://llvm.org/PR1178 --- Diffs of the changes: (+11 -1) AsmPrinter.cpp | 12 +++- 1 files changed, 11 insertions(+), 1 deletion(-) Index: llvm/lib/CodeGen/AsmPrinter.cp

[llvm-commits] CVS: llvm-stacker/lib/compiler/StackerCompiler.cpp

2007-02-05 Thread Reid Spencer
Changes in directory llvm-stacker/lib/compiler: StackerCompiler.cpp updated: 1.32 -> 1.33 --- Log message: For PR411: http://llvm.org/PR411 : Adjust to new Module interface for getFunction. --- Diffs of the changes: (+5 -5) StackerCompiler.cpp | 10 +- 1 files changed, 5 insertio

[llvm-commits] CVS: llvm/tools/lli/lli.cpp

2007-02-05 Thread Reid Spencer
Changes in directory llvm/tools/lli: lli.cpp updated: 1.65 -> 1.66 --- Log message: For PR411: http://llvm.org/PR411 : Adjust to changes in Module interface: getMainFunction() -> getFunction("main") getNamedFunction(X) -> getFunction(X) --- Diffs of the changes: (+1 -1) lli.cpp |2 +-

[llvm-commits] CVS: llvm/lib/Transforms/IPO/ExtractFunction.cpp IndMemRemoval.cpp Internalize.cpp LowerSetJmp.cpp StripSymbols.cpp

2007-02-05 Thread Reid Spencer
Changes in directory llvm/lib/Transforms/IPO: ExtractFunction.cpp updated: 1.17 -> 1.18 IndMemRemoval.cpp updated: 1.12 -> 1.13 Internalize.cpp updated: 1.42 -> 1.43 LowerSetJmp.cpp updated: 1.37 -> 1.38 StripSymbols.cpp updated: 1.11 -> 1.12 --- Log message: For PR411: http://llvm.org/PR411 :

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

2007-02-05 Thread Reid Spencer
Changes in directory llvm/lib/Transforms/Instrumentation: BlockProfiling.cpp updated: 1.20 -> 1.21 EdgeProfiling.cpp updated: 1.10 -> 1.11 TraceBasicBlocks.cpp updated: 1.21 -> 1.22 --- Log message: For PR411: http://llvm.org/PR411 : Adjust to changes in Module interface: getMainFunction() -> g

[llvm-commits] CVS: llvm/lib/ExecutionEngine/ExecutionEngine.cpp

2007-02-05 Thread Reid Spencer
Changes in directory llvm/lib/ExecutionEngine: ExecutionEngine.cpp updated: 1.102 -> 1.103 --- Log message: For PR411: http://llvm.org/PR411 : Adjust to changes in Module interface: getMainFunction() -> getFunction("main") getNamedFunction(X) -> getFunction(X) --- Diffs of the changes: (+1

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

2007-02-05 Thread Reid Spencer
Changes in directory llvm/lib/Transforms/Scalar: LowerGC.cpp updated: 1.20 -> 1.21 --- Log message: For PR411: http://llvm.org/PR411 : Adjust to changes in Module interface: getMainFunction() -> getFunction("main") getNamedFunction(X) -> getFunction(X) --- Diffs of the changes: (+3 -3) Lo

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

2007-02-05 Thread Reid Spencer
Changes in directory llvm/lib/VMCore: Module.cpp updated: 1.76 -> 1.77 --- Log message: For PR411: http://llvm.org/PR411 : Adjust to changes in Module interface: getMainFunction() -> getFunction("main") getNamedFunction(X) -> getFunction(X) --- Diffs of the changes: (+2 -2) Module.cpp |

[llvm-commits] CVS: llvm/tools/bugpoint/CrashDebugger.cpp Miscompilation.cpp

2007-02-05 Thread Reid Spencer
Changes in directory llvm/tools/bugpoint: CrashDebugger.cpp updated: 1.56 -> 1.57 Miscompilation.cpp updated: 1.86 -> 1.87 --- Log message: For PR411: http://llvm.org/PR411 : Adjust to changes in Module interface: getMainFunction() -> getFunction("main") getNamedFunction(X) -> getFunction(X)

[llvm-commits] CVS: llvm/tools/llvm-upgrade/UpgradeParser.cpp.cvs UpgradeParser.y UpgradeParser.y.cvs

2007-02-05 Thread Reid Spencer
Changes in directory llvm/tools/llvm-upgrade: UpgradeParser.cpp.cvs updated: 1.56 -> 1.57 UpgradeParser.y updated: 1.57 -> 1.58 UpgradeParser.y.cvs updated: 1.55 -> 1.56 --- Log message: For PR411: http://llvm.org/PR411 : Adjust to changes in Module interface: getMainFunction() -> getFunction("

[llvm-commits] CVS: llvm/lib/Linker/LinkArchives.cpp

2007-02-05 Thread Reid Spencer
Changes in directory llvm/lib/Linker: LinkArchives.cpp updated: 1.55 -> 1.56 --- Log message: For PR411: http://llvm.org/PR411 : Adjust to changes in Module interface: getMainFunction() -> getFunction("main") getNamedFunction(X) -> getFunction(X) --- Diffs of the changes: (+1 -1) LinkArch

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

2007-02-05 Thread Reid Spencer
Changes in directory llvm/tools/llvm2cpp: CppWriter.cpp updated: 1.37 -> 1.38 --- Log message: For PR411: http://llvm.org/PR411 : Adjust to changes in Module interface: getMainFunction() -> getFunction("main") getNamedFunction(X) -> getFunction(X) --- Diffs of the changes: (+2 -2) CppWrit

[llvm-commits] CVS: llvm/tools/llvm-extract/llvm-extract.cpp

2007-02-05 Thread Reid Spencer
Changes in directory llvm/tools/llvm-extract: llvm-extract.cpp updated: 1.35 -> 1.36 --- Log message: For PR411: http://llvm.org/PR411 : Change getNamedFunction -> getFunction Make llvm-extract run the StripDeadPrototypes pass. --- Diffs of the changes: (+2 -1) llvm-extract.cpp |3 ++-

[llvm-commits] llvm-gcc4: nested function support (w/o trampolines)

2007-02-05 Thread Duncan Sands
This patch adds support for nested subroutines, but not for trampolines (used for taking pointers to nested subroutines; implementing support for trampolines is more tricky since it needs help from the code generators). There are no changes to LLVM itself. The patch is quite simple because gcc al

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

2007-02-05 Thread Reid Spencer
Changes in directory llvm/include/llvm: Module.h updated: 1.82 -> 1.83 --- Log message: For PR411: http://llvm.org/PR411 : Clean up the Module::getFunction interface. getMainFunction and getNamedFunction are now gone. Just use getFunction instead. --- Diffs of the changes: (+5 -14) Module

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

2007-02-05 Thread Chris Lattner
> Create a pass to strip dead function declarations (prototypes). > This is > for use by llvm-extract and bugpoint. Nice, thanks! > + namespace { > + > + /// @brief Pass to remove unused function declarations. > + class StripDeadPrototypesPass : public ModulePass { Please use the horrible VIS

[llvm-commits] CVS: llvm/test/Integer/calltest_bt.ll

2007-02-05 Thread LLVM
Changes in directory llvm/test/Integer: calltest_bt.ll (r1.3) removed --- Log message: For PR411: http://llvm.org/PR411 : This test is not particularly useful without type planes. --- Diffs of the changes: (+0 -0) 0 files changed ___ llvm-comm

[llvm-commits] CVS: llvm/test/Transforms/FunctionResolve/.cvsignore 2002-08-19-ResolveGlobalVars.ll 2002-08-19-ResolveGlobalVarsEasier.ll 2002-11-07-RetMismatch.ll 2002-11-09-ExternFn.ll 2003-04-18-Fo

2007-02-05 Thread LLVM
Changes in directory llvm/test/Transforms/FunctionResolve: .cvsignore (r1.1) removed 2002-08-19-ResolveGlobalVars.ll (r1.8) removed 2002-08-19-ResolveGlobalVarsEasier.ll (r1.6) removed 2002-11-07-RetMismatch.ll (r1.5) removed 2002-11-09-ExternFn.ll (r1.6) removed 2003-04-18-ForwardDeclGlobal.ll

[llvm-commits] CVS: llvm/lib/VMCore/AsmWriter.cpp Constants.cpp Function.cpp Globals.cpp Instruction.cpp Module.cpp SymbolTableListTraitsImpl.h Type.cpp Value.cpp ValueSymbolTable.cpp Verifier.cpp Sym

2007-02-05 Thread Reid Spencer
Changes in directory llvm/lib/VMCore: AsmWriter.cpp updated: 1.259 -> 1.260 Constants.cpp updated: 1.207 -> 1.208 Function.cpp updated: 1.110 -> 1.111 Globals.cpp updated: 1.14 -> 1.15 Instruction.cpp updated: 1.62 -> 1.63 Module.cpp updated: 1.75 -> 1.76 SymbolTableListTraitsImpl.h updated: 1.8

[llvm-commits] CVS: llvm/tools/opt/opt.cpp

2007-02-05 Thread Reid Spencer
Changes in directory llvm/tools/opt: opt.cpp updated: 1.129 -> 1.130 --- Log message: For PR411: http://llvm.org/PR411 : This patch replaces the SymbolTable class with ValueSymbolTable which does not support types planes. This means that all symbol names in LLVM must now be unique. The patch ad

[llvm-commits] CVS: llvm/test/Integer/calltest_bt.ll

2007-02-05 Thread Reid Spencer
Changes in directory llvm/test/Integer: calltest_bt.ll updated: 1.2 -> 1.3 --- Log message: For PR411: http://llvm.org/PR411 : This patch replaces the SymbolTable class with ValueSymbolTable which does not support types planes. This means that all symbol names in LLVM must now be unique. The pa

[llvm-commits] CVS: llvm/lib/Linker/LinkModules.cpp

2007-02-05 Thread Reid Spencer
Changes in directory llvm/lib/Linker: LinkModules.cpp updated: 1.135 -> 1.136 --- Log message: For PR411: http://llvm.org/PR411 : This patch replaces the SymbolTable class with ValueSymbolTable which does not support types planes. This means that all symbol names in LLVM must now be unique. The

[llvm-commits] CVS: llvm/tools/gccld/GenerateCode.cpp

2007-02-05 Thread Reid Spencer
Changes in directory llvm/tools/gccld: GenerateCode.cpp updated: 1.69 -> 1.70 --- Log message: For PR411: http://llvm.org/PR411 : This patch replaces the SymbolTable class with ValueSymbolTable which does not support types planes. This means that all symbol names in LLVM must now be unique. The

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

2007-02-05 Thread Reid Spencer
Changes in directory llvm/lib/Target/CBackend: CBackend.cpp updated: 1.324 -> 1.325 --- Log message: For PR411: http://llvm.org/PR411 : This patch replaces the SymbolTable class with ValueSymbolTable which does not support types planes. This means that all symbol names in LLVM must now be uniqu

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

2007-02-05 Thread Reid Spencer
Changes in directory llvm/lib/Transforms/Utils: CloneModule.cpp updated: 1.22 -> 1.23 --- Log message: For PR411: http://llvm.org/PR411 : This patch replaces the SymbolTable class with ValueSymbolTable which does not support types planes. This means that all symbol names in LLVM must now be uni

[llvm-commits] CVS: llvm/tools/llvm-ld/Optimize.cpp

2007-02-05 Thread Reid Spencer
Changes in directory llvm/tools/llvm-ld: Optimize.cpp updated: 1.15 -> 1.16 --- Log message: For PR411: http://llvm.org/PR411 : This patch replaces the SymbolTable class with ValueSymbolTable which does not support types planes. This means that all symbol names in LLVM must now be unique. The p

[llvm-commits] CVS: llvm/test/Linker/redefinition.ll

2007-02-05 Thread Reid Spencer
Changes in directory llvm/test/Linker: redefinition.ll added (r1.1) --- Log message: For PR411: http://llvm.org/PR411 : This patch replaces the SymbolTable class with ValueSymbolTable which does not support types planes. This means that all symbol names in LLVM must now be unique. The patch add

[llvm-commits] CVS: llvm/tools/llvm-extract/llvm-extract.cpp

2007-02-05 Thread Reid Spencer
Changes in directory llvm/tools/llvm-extract: llvm-extract.cpp updated: 1.34 -> 1.35 --- Log message: For PR411: http://llvm.org/PR411 : This patch replaces the SymbolTable class with ValueSymbolTable which does not support types planes. This means that all symbol names in LLVM must now be uniq

[llvm-commits] CVS: llvm/lib/Bytecode/Writer/SlotCalculator.cpp SlotCalculator.h Writer.cpp WriterInternals.h

2007-02-05 Thread Reid Spencer
Changes in directory llvm/lib/Bytecode/Writer: SlotCalculator.cpp updated: 1.81 -> 1.82 SlotCalculator.h updated: 1.26 -> 1.27 Writer.cpp updated: 1.155 -> 1.156 WriterInternals.h updated: 1.28 -> 1.29 --- Log message: For PR411: http://llvm.org/PR411 : This patch replaces the SymbolTable class

[llvm-commits] CVS: llvm/include/llvm/Function.h LinkAllPasses.h Module.h Value.h ValueSymbolTable.h SymbolTable.h

2007-02-05 Thread Reid Spencer
Changes in directory llvm/include/llvm: Function.h updated: 1.71 -> 1.72 LinkAllPasses.h updated: 1.8 -> 1.9 Module.h updated: 1.81 -> 1.82 Value.h updated: 1.90 -> 1.91 ValueSymbolTable.h updated: 1.3 -> 1.4 SymbolTable.h (r1.54) removed --- Log message: For PR411: http://llvm.org/PR411 : This

[llvm-commits] CVS: llvm/tools/bugpoint/CrashDebugger.cpp ExtractFunction.cpp Miscompilation.cpp

2007-02-05 Thread Reid Spencer
Changes in directory llvm/tools/bugpoint: CrashDebugger.cpp updated: 1.55 -> 1.56 ExtractFunction.cpp updated: 1.57 -> 1.58 Miscompilation.cpp updated: 1.85 -> 1.86 --- Log message: For PR411: http://llvm.org/PR411 : This patch replaces the SymbolTable class with ValueSymbolTable which does not

[llvm-commits] CVS: llvm/tools/lto/lto.cpp

2007-02-05 Thread Reid Spencer
Changes in directory llvm/tools/lto: lto.cpp updated: 1.33 -> 1.34 --- Log message: For PR411: http://llvm.org/PR411 : This patch replaces the SymbolTable class with ValueSymbolTable which does not support types planes. This means that all symbol names in LLVM must now be unique. The patch addr

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

2007-02-05 Thread Reid Spencer
Changes in directory llvm/tools/llvm2cpp: CppWriter.cpp updated: 1.36 -> 1.37 --- Log message: For PR411: http://llvm.org/PR411 : This patch replaces the SymbolTable class with ValueSymbolTable which does not support types planes. This means that all symbol names in LLVM must now be unique. The

[llvm-commits] CVS: llvm/lib/Transforms/IPO/LoopExtractor.cpp RaiseAllocations.cpp StripSymbols.cpp

2007-02-05 Thread Reid Spencer
Changes in directory llvm/lib/Transforms/IPO: LoopExtractor.cpp updated: 1.21 -> 1.22 RaiseAllocations.cpp updated: 1.36 -> 1.37 StripSymbols.cpp updated: 1.10 -> 1.11 --- Log message: For PR411: http://llvm.org/PR411 : This patch replaces the SymbolTable class with ValueSymbolTable which does

[llvm-commits] CVS: llvm/include/llvm/Bytecode/BytecodeHandler.h

2007-02-05 Thread Reid Spencer
Changes in directory llvm/include/llvm/Bytecode: BytecodeHandler.h updated: 1.11 -> 1.12 --- Log message: For PR411: http://llvm.org/PR411 : This patch replaces the SymbolTable class with ValueSymbolTable which does not support types planes. This means that all symbol names in LLVM must now be

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

2007-02-05 Thread Reid Spencer
Changes in directory llvm/lib/Bytecode/Reader: Analyzer.cpp updated: 1.30 -> 1.31 Reader.cpp updated: 1.229 -> 1.230 Reader.h updated: 1.43 -> 1.44 --- Log message: For PR411: http://llvm.org/PR411 : This patch replaces the SymbolTable class with ValueSymbolTable which does not support types pl

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

2007-02-05 Thread Reid Spencer
Changes in directory llvm/include/llvm/Transforms: IPO.h updated: 1.48 -> 1.49 --- Log message: For PR411: http://llvm.org/PR411 : This patch replaces the SymbolTable class with ValueSymbolTable which does not support types planes. This means that all symbol names in LLVM must now be unique. Th

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

2007-02-05 Thread LLVM
Changes in directory llvm/lib/Transforms/IPO: FunctionResolution.cpp (r1.66) removed --- Log message: For PR411: http://llvm.org/PR411 : This pass is no longer needed. --- Diffs of the changes: (+0 -0) 0 files changed ___ llvm-commits mailing

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

2007-02-05 Thread Reid Spencer
Changes in directory llvm/lib/Transforms/IPO: StripDeadPrototypes.cpp added (r1.1) --- Log message: Create a pass to strip dead function declarations (prototypes). This is for use by llvm-extract and bugpoint. --- Diffs of the changes: (+61 -0) StripDeadPrototypes.cpp | 61 ++

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

2007-02-05 Thread Devang Patel
Changes in directory llvm/lib/VMCore: PassManager.cpp updated: 1.133 -> 1.134 --- Log message: Fix PR1158: http://llvm.org/PR1158 Do not insert Analysis pass, if it is already available. --- Diffs of the changes: (+5 -0) PassManager.cpp |5 + 1 files changed, 5 insertions(+) In

[llvm-commits] CVS: llvm/test/Other/2006-02-05-PassManager.ll

2007-02-05 Thread Devang Patel
Changes in directory llvm/test/Other: 2006-02-05-PassManager.ll added (r1.1) --- Log message: Test case for PR1158: http://llvm.org/PR1158 --- Diffs of the changes: (+5 -0) 2006-02-05-PassManager.ll |5 + 1 files changed, 5 insertions(+) Index: llvm/test/Other/2006-02-05-PassMan

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

2007-02-05 Thread Chris Lattner
Hi Sheng/Reid, Some comments about the approach, on top of what Reid already sent. The most significant is that isSigned should go away: > + class APInt { > + /// Friend Functions of APInt Declared here. For detailed > comments, > + /// see bottom of this file. > + friend bool isIntN(

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

2007-02-05 Thread Reid Spencer
On Mon, 2007-02-05 at 10:27 -0800, Chris Lattner wrote: > > Don't prevent install target from descending into the utils directory. > > It prevents "make install" on a clean directory from working. > > Does this change what gets installed into PREFIX? Perhaps. It might cause tblgen to be installed

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

2007-02-05 Thread Chris Lattner
On Feb 5, 2007, at 10:39 AM, Reid Spencer wrote: > On Mon, 2007-02-05 at 10:27 -0800, Chris Lattner wrote: >>> Don't prevent install target from descending into the utils >>> directory. >>> It prevents "make install" on a clean directory from working. >> >> Does this change what gets installed

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

2007-02-05 Thread Reid Spencer
Sheng, Some comments for you .. On Mon, 2007-02-05 at 11:29 -0600, Zhou Sheng wrote: > > Changes in directory llvm/include/llvm/ADT: > > APInt.h added (r1.1) > --- > Log message: > > Add a class APInt to represent arbitrary precision constant integral values. > It is a functional replacement f

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

2007-02-05 Thread Chris Lattner
> Don't prevent install target from descending into the utils directory. > It prevents "make install" on a clean directory from working. Does this change what gets installed into PREFIX? -Chris > > --- > Diffs of the changes: (+0 -7) > > Makefile |7 --- > 1 files changed, 7 deletions(

[llvm-commits] [123438] libtransforms is no more.

2007-02-05 Thread clattner
Revision: 123438 Author: clattner Date: 2007-02-05 10:18:09 -0800 (Mon, 05 Feb 2007) Log Message: --- libtransforms is no more. Modified Paths: -- apple-local/branches/llvm/gcc/Makefile.in Modified: apple-local/branches/llvm/gcc/Makefile.in =

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

2007-02-05 Thread Zhou Sheng
Changes in directory llvm/include/llvm/ADT: APInt.h added (r1.1) --- Log message: Add a class APInt to represent arbitrary precision constant integral values. It is a functional replacement for common case integer type like "unsigned", "uint64_t", but also allows non-byte-width integer type and

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

2007-02-05 Thread Reid Spencer
Changes in directory llvm/lib/AsmParser: llvmAsmParser.cpp.cvs updated: 1.63 -> 1.64 llvmAsmParser.y.cvs updated: 1.64 -> 1.65 --- Log message: Regenerate. --- Diffs of the changes: (+18 -18) llvmAsmParser.cpp.cvs | 18 +- llvmAsmParser.y.cvs | 18 +- 2

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

2007-02-05 Thread Reid Spencer
Changes in directory llvm/lib/AsmParser: llvmAsmParser.y updated: 1.318 -> 1.319 --- Log message: ! removal was a little over zealous. Put the ! back in asserts. --- Diffs of the changes: (+9 -9) llvmAsmParser.y | 18 +- 1 files changed, 9 insertions(+), 9 deletions(-)

[llvm-commits] CVS: llvm/test/CodeGen/ARM/unord.ll

2007-02-05 Thread Lauro Ramos Venancio
Changes in directory llvm/test/CodeGen/ARM: unord.ll updated: 1.1 -> 1.2 --- Log message: Fix unord test. --- Diffs of the changes: (+2 -2) unord.ll |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) Index: llvm/test/CodeGen/ARM/unord.ll diff -u llvm/test/CodeGen/ARM/unord.ll:

[llvm-commits] CVS: llvm/test/CodeGen/X86/overlap-add.ll

2007-02-05 Thread Reid Spencer
Changes in directory llvm/test/CodeGen/X86: overlap-add.ll updated: 1.5 -> 1.6 --- Log message: Make the RUN: line readable. --- Diffs of the changes: (+2 -1) overlap-add.ll |3 ++- 1 files changed, 2 insertions(+), 1 deletion(-) Index: llvm/test/CodeGen/X86/overlap-add.ll diff -u ll

[llvm-commits] CVS: llvm/test/Assembler/2004-11-28-InvalidTypeCrash.ll

2007-02-05 Thread Reid Spencer
Changes in directory llvm/test/Assembler: 2004-11-28-InvalidTypeCrash.ll updated: 1.5 -> 1.6 --- Log message: Assembler no longer prints ! at the end of its error messages. --- Diffs of the changes: (+1 -1) 2004-11-28-InvalidTypeCrash.ll |2 +- 1 files changed, 1 insertion(+), 1 deleti

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

2007-02-05 Thread Reid Spencer
Changes in directory llvm/lib/AsmParser: llvmAsmParser.y updated: 1.317 -> 1.318 --- Log message: There is nothing exclamatory about an error message. No other compiler or assembler uses ! at the end of every message. We shouldn't either. --- Diffs of the changes: (+102 -102) llvmAsmParser

[llvm-commits] CVS: llvm/Makefile

2007-02-05 Thread Reid Spencer
Changes in directory llvm: Makefile updated: 1.67 -> 1.68 --- Log message: Don't prevent install target from descending into the utils directory. It prevents "make install" on a clean directory from working. --- Diffs of the changes: (+0 -7) Makefile |7 --- 1 files changed, 7 dele