[llvm-commits] [123716] Reid's StripDeadPrototypes patch

2007-02-12 Thread jlaskey
Revision: 123716 Author: jlaskey Date: 2007-02-12 03:32:30 -0800 (Mon, 12 Feb 2007) Log Message: --- Reid's StripDeadPrototypes patch Modified Paths: -- apple-local/branches/llvm/gcc/llvm-backend.cpp Modified: apple-local/branches/llvm/gcc/llvm-backend.cpp

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

2007-02-12 Thread Reid Spencer
Changes in directory llvm-test/SingleSource/UnitTests/Integer/APInt: .cvsignore added (r1.1) --- Log message: Ignore the Output directory. --- Diffs of the changes: (+1 -0) .cvsignore |1 + 1 files changed, 1 insertion(+) Index:

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

2007-02-12 Thread Reid Spencer
Changes in directory llvm-test/SingleSource/UnitTests/Integer: bit_concat.c added (r1.1) bit_concat.reference_output added (r1.1) bit_reduce.c added (r1.1) bit_reduce.reference_output added (r1.1) part_select.c added (r1.1) part_select.reference_output added (r1.1) bit_select.c updated: 1.1 -

[llvm-commits] [123743] Avoid including GCC's system headers.

2007-02-12 Thread dpatel
Revision: 123743 Author: dpatel Date: 2007-02-12 10:01:31 -0800 (Mon, 12 Feb 2007) Log Message: --- Avoid including GCC's system headers. They poison stuff like malloc that we use in LLVM subsystem. Modified Paths: -- apple-local/branches/llvm/gcc/llvm-debug.h

[llvm-commits] updated TargetData mods...

2007-02-12 Thread Scott Michel
Resolved recent commit conflicts. -scooter Index: include/llvm/Target/TargetData.h === --- include/llvm/Target/TargetData.h (.../trunk) (revision 773) +++ include/llvm/Target/TargetData.h (.../branches/llvm-spu) (revision 773) @@

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

2007-02-12 Thread Chris Lattner
Changes in directory llvm/lib/VMCore: Value.cpp updated: 1.66 - 1.67 --- Log message: Add new setName accessor which doesn't require creating a string. --- Diffs of the changes: (+28 -20) Value.cpp | 48 1 files changed, 28 insertions(+),

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

2007-02-12 Thread Chris Lattner
Changes in directory llvm/include/llvm: Value.h updated: 1.93 - 1.94 --- Log message: Add new setName accessor which doesn't require creating a string. --- Diffs of the changes: (+1 -0) Value.h |1 + 1 files changed, 1 insertion(+) Index: llvm/include/llvm/Value.h diff -u

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

2007-02-12 Thread Chris Lattner
Changes in directory llvm/lib/Bytecode/Reader: Analyzer.cpp updated: 1.36 - 1.37 Reader.cpp updated: 1.235 - 1.236 Reader.h updated: 1.48 - 1.49 --- Log message: avoid creating a temporary string when reading the symbol table for a module. This speeds up the bcreader 11%. --- Diffs of the

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

2007-02-12 Thread Chris Lattner
Changes in directory llvm/include/llvm/Bytecode: BytecodeHandler.h updated: 1.15 - 1.16 --- Log message: avoid creating a temporary string when reading the symbol table for a module. This speeds up the bcreader 11%. --- Diffs of the changes: (+1 -1) BytecodeHandler.h |2 +- 1 files

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

2007-02-12 Thread Jim Laskey
Changes in directory llvm/include/llvm: Intrinsics.td updated: 1.44 - 1.45 --- Log message: Wrong value type. --- Diffs of the changes: (+1 -1) Intrinsics.td |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm/include/llvm/Intrinsics.td diff -u

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

2007-02-12 Thread Reid Spencer
Changes in directory llvm-test/SingleSource/UnitTests/Integer: bit_concat.reference_output updated: 1.1 - 1.2 --- Log message: Update the reference output to what is expected. --- Diffs of the changes: (+118 -118) bit_concat.reference_output | 236

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

2007-02-12 Thread Zhou Sheng
Changes in directory llvm/lib/Support: APInt.cpp updated: 1.7 - 1.8 --- Log message: 1. Make APInt::shl work correctly and more efficiently. 2. Add functions to support the numberical conversion between APInt and double/float. --- Diffs of the changes: (+78 -10) APInt.cpp | 88

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

2007-02-12 Thread Chris Lattner
Changes in directory llvm/lib/Target/X86: README.txt updated: 1.154 - 1.155 --- Log message: add a note --- Diffs of the changes: (+29 -0) README.txt | 29 + 1 files changed, 29 insertions(+) Index: llvm/lib/Target/X86/README.txt diff -u

[llvm-commits] CVS: llvm-test/SingleSource/UnitTests/Integer/bit_concat.c bit_reduce.c bit_reduce.reference_output part_select.c

2007-02-12 Thread Reid Spencer
Changes in directory llvm-test/SingleSource/UnitTests/Integer: bit_concat.c updated: 1.1 - 1.2 bit_reduce.c updated: 1.1 - 1.2 bit_reduce.reference_output updated: 1.1 - 1.2 part_select.c updated: 1.1 - 1.2 --- Log message: Update test programs. --- Diffs of the changes: (+159 -38)

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

2007-02-12 Thread Chris Lattner
Changes in directory llvm/lib/Target/X86: README.txt updated: 1.155 - 1.156 --- Log message: more notes --- Diffs of the changes: (+26 -3) README.txt | 29 ++--- 1 files changed, 26 insertions(+), 3 deletions(-) Index: llvm/lib/Target/X86/README.txt diff -u

[llvm-commits] [123745] Add llvm::createStripDeadPrototypesPass().

2007-02-12 Thread echeng
Revision: 123745 Author: echeng Date: 2007-02-12 13:27:35 -0800 (Mon, 12 Feb 2007) Log Message: --- Add llvm::createStripDeadPrototypesPass(). Modified Paths: -- apple-local/branches/llvm/gcc/llvm-linker-hack.cpp Modified:

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

2007-02-12 Thread Chris Lattner
Changes in directory llvm/lib/Transforms/Scalar: InstructionCombining.cpp updated: 1.629 - 1.630 LowerPacked.cpp updated: 1.16 - 1.17 ScalarReplAggregates.cpp updated: 1.72 - 1.73 --- Log message: stop using methods that take vectors. --- Diffs of the changes: (+14 -9)

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

2007-02-12 Thread Chris Lattner
Changes in directory llvm/lib/Transforms/IPO: ArgumentPromotion.cpp updated: 1.36 - 1.37 GlobalOpt.cpp updated: 1.96 - 1.97 --- Log message: stop using methods that take vectors. --- Diffs of the changes: (+9 -5) ArgumentPromotion.cpp |7 +-- GlobalOpt.cpp |7 ---

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

2007-02-12 Thread Chris Lattner
Changes in directory llvm/lib/Transforms/Utils: LowerInvoke.cpp updated: 1.52 - 1.53 --- Log message: stop using methods that take vectors. --- Diffs of the changes: (+4 -3) LowerInvoke.cpp |7 --- 1 files changed, 4 insertions(+), 3 deletions(-) Index:

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

2007-02-12 Thread Reid Spencer
Changes in directory llvm-test/SingleSource/UnitTests/Integer: part_select.c updated: 1.2 - 1.3 part_select.reference_output updated: 1.1 - 1.2 --- Log message: Update the part_select test case to avoid sign extension. --- Diffs of the changes: (+61 -10) part_select.c|

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

2007-02-12 Thread Reid Spencer
Changes in directory llvm-test/SingleSource/UnitTests/Integer: general-test.reference_output updated: 1.2 - 1.3 --- Log message: Update the reference output for this test to correct the values. --- Diffs of the changes: (+5 -5) general-test.reference_output | 10 +- 1 files

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

2007-02-12 Thread Reid Spencer
Changes in directory llvm-test/SingleSource/UnitTests/Integer: general-test.c updated: 1.6 - 1.7 general-test.reference_output updated: 1.3 - 1.4 --- Log message: Fix a logic bug in this test. --- Diffs of the changes: (+2 -2) general-test.c|2 +-

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

2007-02-12 Thread Andrew Lenharth
Changes in directory llvm/include/llvm/Support: PatternMatch.h updated: 1.18 - 1.19 --- Log message: I love non-deturminism. Returning objects with references to stack objects is a bad idea (TM). --- Diffs of the changes: (+7 -5) PatternMatch.h | 12 +++- 1 files changed, 7

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

2007-02-12 Thread Chris Lattner
Changes in directory llvm/lib/AsmParser: llvmAsmParser.y updated: 1.321 - 1.322 --- Log message: eliminate use of methods that take vectors as args --- Diffs of the changes: (+4 -3) llvmAsmParser.y |7 --- 1 files changed, 4 insertions(+), 3 deletions(-) Index:

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

2007-02-12 Thread Chris Lattner
Changes in directory llvm/lib/VMCore: Instructions.cpp updated: 1.71 - 1.72 --- Log message: remove some dead methods. --- Diffs of the changes: (+8 -25) Instructions.cpp | 33 - 1 files changed, 8 insertions(+), 25 deletions(-) Index:

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

2007-02-12 Thread Chris Lattner
Changes in directory llvm/include/llvm: Instructions.h updated: 1.54 - 1.55 --- Log message: remove some dead methods. --- Diffs of the changes: (+1 -10) Instructions.h | 11 +-- 1 files changed, 1 insertion(+), 10 deletions(-) Index: llvm/include/llvm/Instructions.h diff -u

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

2007-02-12 Thread Chris Lattner
Changes in directory llvm/lib/VMCore: Instructions.cpp updated: 1.72 - 1.73 --- Log message: Add invokeinst and callinst ctors that don't take vectors. --- Diffs of the changes: (+47 -11) Instructions.cpp | 58 --- 1 files changed, 47

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

2007-02-12 Thread Chris Lattner
Changes in directory llvm/include/llvm: Instructions.h updated: 1.55 - 1.56 --- Log message: Add invokeinst and callinst ctors that don't take vectors. --- Diffs of the changes: (+12 -1) Instructions.h | 13 - 1 files changed, 12 insertions(+), 1 deletion(-) Index:

[llvm-commits] CVS: llvm/test/CodeGen/Generic/switch-lower.ll

2007-02-12 Thread Chris Lattner
Changes in directory llvm/test/CodeGen/Generic: switch-lower.ll added (r1.1) --- Log message: new testcase for PR1197: http://llvm.org/PR1197 --- Diffs of the changes: (+335 -0) switch-lower.ll | 335 1 files changed, 335

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

2007-02-12 Thread Chris Lattner
Changes in directory llvm/lib/CodeGen/SelectionDAG: SelectionDAGISel.cpp updated: 1.360 - 1.361 --- Log message: Fix switch lowering to order cases in zext order, which is how we emit the comparisons. This fixes an infinite loop on CodeGen/Generic/switch-lower.ll and PR1197:

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

2007-02-12 Thread Evan Cheng
Changes in directory llvm/lib/CodeGen: LiveIntervalAnalysis.cpp updated: 1.204 - 1.205 LiveVariables.cpp updated: 1.64 - 1.65 --- Log message: Allow any MachineBasicBlock (not just the entry block) to have live-in physical registers. Make sure liveinterval analysis is correctly creating live

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

2007-02-12 Thread Chris Lattner
Changes in directory llvm/lib/Bytecode/Reader: Reader.cpp updated: 1.236 - 1.237 --- Log message: stop passing vector into ctors --- Diffs of the changes: (+2 -2) Reader.cpp |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) Index: llvm/lib/Bytecode/Reader/Reader.cpp diff -u

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

2007-02-12 Thread Chris Lattner
Changes in directory llvm/lib/Transforms/Instrumentation: ProfilingUtils.cpp updated: 1.14 - 1.15 --- Log message: Eliminate use of ctors that take vectors. --- Diffs of the changes: (+2 -1) ProfilingUtils.cpp |3 ++- 1 files changed, 2 insertions(+), 1 deletion(-) Index:

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

2007-02-12 Thread Chris Lattner
Changes in directory llvm/lib/Transforms/IPO: ArgumentPromotion.cpp updated: 1.37 - 1.38 DeadArgumentElimination.cpp updated: 1.39 - 1.40 LowerSetJmp.cpp updated: 1.39 - 1.40 PruneEH.cpp updated: 1.30 - 1.31 --- Log message: Eliminate use of ctors that take vectors. --- Diffs of the changes:

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

2007-02-12 Thread Chris Lattner
Changes in directory llvm/lib/Transforms/Scalar: ADCE.cpp updated: 1.103 - 1.104 InstructionCombining.cpp updated: 1.630 - 1.631 LowerGC.cpp updated: 1.21 - 1.22 --- Log message: Eliminate use of ctors that take vectors. --- Diffs of the changes: (+8 -7) ADCE.cpp |5

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

2007-02-12 Thread Chris Lattner
Changes in directory llvm/lib/Transforms/Utils: CodeExtractor.cpp updated: 1.49 - 1.50 InlineFunction.cpp updated: 1.52 - 1.53 LowerInvoke.cpp updated: 1.53 - 1.54 SimplifyCFG.cpp updated: 1.116 - 1.117 --- Log message: Eliminate use of ctors that take vectors. --- Diffs of the changes:

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

2007-02-12 Thread Reid Spencer
Chris, I have a question .. On Mon, 2007-02-12 at 19:54 -0600, Chris Lattner wrote: Changes in directory llvm/lib/Bytecode/Reader: Reader.cpp updated: 1.236 - 1.237 --- Log message: stop passing vector into ctors --- Diffs of the changes: (+2 -2) Reader.cpp |4 ++-- 1

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

2007-02-12 Thread Reid Spencer
Changes in directory llvm-stacker/lib/compiler: StackerCompiler.cpp updated: 1.33 - 1.34 --- Log message: Update for recent interface changes in GEP constructor. --- Diffs of the changes: (+12 -9) StackerCompiler.cpp | 21 - 1 files changed, 12 insertions(+), 9

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

2007-02-12 Thread Chris Lattner
On Mon, 12 Feb 2007, Reid Spencer wrote: - Result = new CallInst(F, Params); + Result = new CallInst(F, Params[0], Params.size()); I don't see why this series of changes is better for performance. It isn't. Is there something I'm missing here? Nope, it's just an API cleanup. The

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

2007-02-12 Thread Chris Lattner
Changes in directory llvm/lib/Transforms/IPO: SimplifyLibCalls.cpp updated: 1.92 - 1.93 --- Log message: eliminate a bunch of vector-related heap traffic --- Diffs of the changes: (+53 -47) SimplifyLibCalls.cpp | 100 +++ 1 files changed,

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

2007-02-12 Thread Chris Lattner
Changes in directory llvm/lib/ExecutionEngine/JIT: JIT.cpp updated: 1.91 - 1.92 --- Log message: eliminate vector-related allocations --- Diffs of the changes: (+2 -2) JIT.cpp |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) Index: llvm/lib/ExecutionEngine/JIT/JIT.cpp diff

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

2007-02-12 Thread Chris Lattner
Changes in directory llvm/lib/CodeGen: IntrinsicLowering.cpp updated: 1.66 - 1.67 --- Log message: eliminate vector-related allocations --- Diffs of the changes: (+4 -2) IntrinsicLowering.cpp |6 -- 1 files changed, 4 insertions(+), 2 deletions(-) Index:

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

2007-02-12 Thread Chris Lattner
Changes in directory llvm/tools/llvm-upgrade: UpgradeParser.y updated: 1.64 - 1.65 --- Log message: remove use of vector-related ctors --- Diffs of the changes: (+5 -5) UpgradeParser.y | 10 +- 1 files changed, 5 insertions(+), 5 deletions(-) Index:

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

2007-02-12 Thread Chris Lattner
Changes in directory llvm/tools/bugpoint: Miscompilation.cpp updated: 1.87 - 1.88 --- Log message: eliminate use of vector-related ctors --- Diffs of the changes: (+7 -4) Miscompilation.cpp | 11 +++ 1 files changed, 7 insertions(+), 4 deletions(-) Index:

[llvm-commits] CVS: llvm/examples/HowToUseJIT/HowToUseJIT.cpp

2007-02-12 Thread Chris Lattner
Changes in directory llvm/examples/HowToUseJIT: HowToUseJIT.cpp updated: 1.15 - 1.16 --- Log message: eliminate vector-related ctors --- Diffs of the changes: (+1 -3) HowToUseJIT.cpp |4 +--- 1 files changed, 1 insertion(+), 3 deletions(-) Index:

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

2007-02-12 Thread Chris Lattner
Changes in directory llvm/lib/VMCore: Instructions.cpp updated: 1.73 - 1.74 --- Log message: eliminate instruction ctors that take vectors. --- Diffs of the changes: (+0 -37) Instructions.cpp | 37 - 1 files changed, 37 deletions(-) Index:

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

2007-02-12 Thread Chris Lattner
Changes in directory llvm/lib/Bytecode/Reader: Reader.cpp updated: 1.237 - 1.238 --- Log message: now that we can pass ranges into CallInst ctors, eliminate vector heap traffic --- Diffs of the changes: (+2 -2) Reader.cpp |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)

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

2007-02-12 Thread Chris Lattner
Changes in directory llvm/include/llvm/ADT: SmallVector.h updated: 1.23 - 1.24 --- Log message: fix a critical bug in smallvector, where it would destroy elements that are not in its range (!). --- Diffs of the changes: (+1 -1) SmallVector.h |2 +- 1 files changed, 1 insertion(+), 1

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

2007-02-12 Thread Chris Lattner
Changes in directory llvm/lib/Bytecode/Reader: Reader.h updated: 1.49 - 1.50 --- Log message: Use a SmallVector to reduce heap traffic. This speeds up bcreader 10% --- Diffs of the changes: (+1 -1) Reader.h |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index:

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

2007-02-12 Thread Chris Lattner
Changes in directory llvm/include/llvm: Value.h updated: 1.94 - 1.95 --- Log message: add a setName variant that takes a null-terminated string. This can be used to avoid std::string allocations in common cases. --- Diffs of the changes: (+2 -0) Value.h |2 ++ 1 files changed, 2

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

2007-02-12 Thread Chris Lattner
Changes in directory llvm/lib/VMCore: Instruction.cpp updated: 1.64 - 1.65 Instructions.cpp updated: 1.74 - 1.75 --- Log message: Switch UnaryOperators to default to passing names up by const char* when possible. This speeds up bcreading by 1.5%. --- Diffs of the changes: (+74 -8)

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

2007-02-12 Thread Chris Lattner
Changes in directory llvm/lib/VMCore: Value.cpp updated: 1.67 - 1.68 --- Log message: add a setName variant that takes a null-terminated string. This can be used to avoid std::string allocations in common cases. --- Diffs of the changes: (+4 -0) Value.cpp |4 1 files changed, 4