[llvm-commits] CVS: llvm/utils/TableGen/RegisterInfoEmitter.cpp

2007-04-30 Thread Nate Begeman
Changes in directory llvm/utils/TableGen: RegisterInfoEmitter.cpp updated: 1.53 -> 1.54 --- Log message: A bit of feedback from Chris that I missed; error rather than asserting. --- Diffs of the changes: (+5 -2) RegisterInfoEmitter.cpp |7 +-- 1 files changed, 5 insertions(+), 2 de

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

2007-04-30 Thread Nate Begeman
Changes in directory llvm/include/llvm/Target: MRegisterInfo.h updated: 1.108 -> 1.109 --- Log message: llvm bug #1350, parts 1, 2, and 3. --- Diffs of the changes: (+5 -1) MRegisterInfo.h |6 +- 1 files changed, 5 insertions(+), 1 deletion(-) Index: llvm/include/llvm/Target/MReg

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

2007-04-30 Thread Nate Begeman
Changes in directory llvm/lib/CodeGen: MachineInstr.cpp updated: 1.147 -> 1.148 --- Log message: llvm bug #1350, parts 1, 2, and 3. --- Diffs of the changes: (+2 -2) MachineInstr.cpp |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) Index: llvm/lib/CodeGen/MachineInstr.cpp di

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

2007-04-30 Thread Nate Begeman
Changes in directory llvm/lib/Target/PowerPC: PPCRegisterInfo.td updated: 1.44 -> 1.45 --- Log message: llvm bug #1350, parts 1, 2, and 3. --- Diffs of the changes: (+50 -1) PPCRegisterInfo.td | 51 ++- 1 files changed, 50 insertions(+), 1

[llvm-commits] CVS: llvm/utils/TableGen/RegisterInfoEmitter.cpp

2007-04-30 Thread Nate Begeman
Changes in directory llvm/utils/TableGen: RegisterInfoEmitter.cpp updated: 1.52 -> 1.53 --- Log message: llvm bug #1350, parts 1, 2, and 3. --- Diffs of the changes: (+36 -0) RegisterInfoEmitter.cpp | 36 1 files changed, 36 insertions(+) Index: llv

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

2007-04-30 Thread Nate Begeman
Changes in directory llvm/include/llvm/CodeGen: MachineInstr.h updated: 1.217 -> 1.218 --- Log message: llvm bug #1350, parts 1, 2, and 3. --- Diffs of the changes: (+31 -16) MachineInstr.h | 47 +++ 1 files changed, 31 insertions(+), 16 deleti

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

2007-04-30 Thread Nate Begeman
Changes in directory llvm/lib/Target: Target.td updated: 1.96 -> 1.97 --- Log message: llvm bug #1350, parts 1, 2, and 3. --- Diffs of the changes: (+9 -7) Target.td | 16 +--- 1 files changed, 9 insertions(+), 7 deletions(-) Index: llvm/lib/Target/Target.td diff -u llvm/li

[llvm-commits] CVS: llvm/lib/Bitcode/Reader/BitcodeReader.cpp BitcodeReader.h

2007-04-30 Thread Chris Lattner
Changes in directory llvm/lib/Bitcode/Reader: BitcodeReader.cpp updated: 1.19 -> 1.20 BitcodeReader.h updated: 1.13 -> 1.14 --- Log message: implement materializeModule, force deallocation of vector memory when we are done with them, start implementing ParseFunctionBody --- Diffs of the cha

[llvm-commits] CVS: llvm/include/llvm/Bitcode/BitstreamReader.h

2007-04-30 Thread Chris Lattner
Changes in directory llvm/include/llvm/Bitcode: BitstreamReader.h updated: 1.10 -> 1.11 --- Log message: several bitfixes to JumpToBit --- Diffs of the changes: (+7 -4) BitstreamReader.h | 11 +++ 1 files changed, 7 insertions(+), 4 deletions(-) Index: llvm/include/llvm/Bitcode

[llvm-commits] CVS: llvm/lib/Bitcode/Reader/BitcodeReader.cpp BitcodeReader.h

2007-04-30 Thread Chris Lattner
Changes in directory llvm/lib/Bitcode/Reader: BitcodeReader.cpp updated: 1.18 -> 1.19 BitcodeReader.h updated: 1.12 -> 1.13 --- Log message: The stream to read from is now an ivar --- Diffs of the changes: (+18 -20) BitcodeReader.cpp | 25 - BitcodeReader.h |

[llvm-commits] CVS: llvm/lib/Bitcode/Reader/BitcodeReader.cpp BitcodeReader.h

2007-04-30 Thread Chris Lattner
Changes in directory llvm/lib/Bitcode/Reader: BitcodeReader.cpp updated: 1.17 -> 1.18 BitcodeReader.h updated: 1.11 -> 1.12 --- Log message: implement scafolding for lazy deserialization of function bodies --- Diffs of the changes: (+85 -7) BitcodeReader.cpp | 65

[llvm-commits] CVS: llvm/include/llvm/Bitcode/BitstreamReader.h

2007-04-30 Thread Chris Lattner
Changes in directory llvm/include/llvm/Bitcode: BitstreamReader.h updated: 1.9 -> 1.10 --- Log message: add JumpToBit, an explicit init method, and a default ctor. --- Diffs of the changes: (+28 -2) BitstreamReader.h | 30 -- 1 files changed, 28 insertions(+),

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

2007-04-30 Thread Chris Lattner
> +bool HasUses = false; > +SmallVector VTs; > +for (unsigned i = 0, e = N->getNumValues(); i != e; ++i) { > + if (!N->hasNUsesOfValue(0, i)) { > +HasUses = true; > +break; > + } > + VTs.push_back(N->getValueType(i)); > +} > +if (!HasUses) { > +

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

2007-04-30 Thread Reid Spencer
Changes in directory llvm/test/CodeGen/PowerPC: vector.ll added (r1.1) --- Log message: Split target dependent test portions to target-specific directories. --- Diffs of the changes: (+157 -0) vector.ll | 157 ++ 1 files changed,

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

2007-04-30 Thread Reid Spencer
Changes in directory llvm/test/CodeGen/Generic: vector.ll updated: 1.13 -> 1.14 --- Log message: Split target dependent test portions to target-specific directories. --- Diffs of the changes: (+0 -4) vector.ll |4 1 files changed, 4 deletions(-) Index: llvm/test/CodeGen/Generic/

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

2007-04-30 Thread Reid Spencer
Changes in directory llvm/test/CodeGen/X86: vector.ll added (r1.1) --- Log message: Split target dependent test portions to target-specific directories. --- Diffs of the changes: (+157 -0) vector.ll | 157 ++ 1 files changed, 157

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

2007-04-30 Thread Chris Lattner
Changes in directory llvm/tools/llvm-bcanalyzer: llvm-bcanalyzer.cpp updated: 1.15 -> 1.16 --- Log message: add phi --- Diffs of the changes: (+5 -1) llvm-bcanalyzer.cpp |6 +- 1 files changed, 5 insertions(+), 1 deletion(-) Index: llvm/tools/llvm-bcanalyzer/llvm-bcanalyzer.cpp d

[llvm-commits] CVS: llvm/lib/Bitcode/Writer/BitcodeWriter.cpp

2007-04-30 Thread Chris Lattner
Changes in directory llvm/lib/Bitcode/Writer: BitcodeWriter.cpp updated: 1.17 -> 1.18 --- Log message: write the symbol table for function bodies --- Diffs of the changes: (+33 -30) BitcodeWriter.cpp | 63 -- 1 files changed, 33 inserti

[llvm-commits] CVS: llvm/lib/Bitcode/Writer/BitcodeWriter.cpp

2007-04-30 Thread Chris Lattner
Changes in directory llvm/lib/Bitcode/Writer: BitcodeWriter.cpp updated: 1.16 -> 1.17 --- Log message: encode all of the instructions. --- Diffs of the changes: (+166 -3) BitcodeWriter.cpp | 169 +- 1 files changed, 166 insertions(+), 3

[llvm-commits] CVS: llvm/include/llvm/Bitcode/LLVMBitCodes.h

2007-04-30 Thread Chris Lattner
Changes in directory llvm/include/llvm/Bitcode: LLVMBitCodes.h updated: 1.9 -> 1.10 --- Log message: add missing opcode. --- Diffs of the changes: (+10 -9) LLVMBitCodes.h | 19 ++- 1 files changed, 10 insertions(+), 9 deletions(-) Index: llvm/include/llvm/Bitcode/LLVMBi

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

2007-04-30 Thread Evan Cheng
Changes in directory llvm/lib/Target/ARM: ARMRegisterInfo.cpp updated: 1.90 -> 1.91 ARMRegisterInfo.h updated: 1.17 -> 1.18 --- Log message: Under normal circumstances, when a frame pointer is not required, we reserve argument space for call sites in the function immediately on entry to the cur

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

2007-04-30 Thread Evan Cheng
Changes in directory llvm/lib/CodeGen: PrologEpilogInserter.cpp updated: 1.82 -> 1.83 --- Log message: Under normal circumstances, when a frame pointer is not required, we reserve argument space for call sites in the function immediately on entry to the current function. This eliminates the nee

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

2007-04-30 Thread Evan Cheng
Changes in directory llvm/include/llvm/Target: MRegisterInfo.h updated: 1.107 -> 1.108 --- Log message: Added hook hasReservedCallFrame(). It returns true if the call frame is included as part of the stack frame. --- Diffs of the changes: (+9 -0) MRegisterInfo.h |9 + 1 files ch

[llvm-commits] CVS: llvm/test/CodeGen/ARM/2007-04-30-CombinerCrash.ll

2007-04-30 Thread Evan Cheng
Changes in directory llvm/test/CodeGen/ARM: 2007-04-30-CombinerCrash.ll added (r1.1) --- Log message: Test a dag combiner crasher. --- Diffs of the changes: (+32 -0) 2007-04-30-CombinerCrash.ll | 32 1 files changed, 32 insertions(+) Index: llvm/test/Cod

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

2007-04-30 Thread Evan Cheng
Changes in directory llvm/lib/CodeGen/SelectionDAG: DAGCombiner.cpp updated: 1.296 -> 1.297 --- Log message: * Only turn a load to UNDEF if all of its outputs have no uses (indexed loads produce two results.) * Do not touch volatile loads. --- Diffs of the changes: (+20 -5) DAGCombiner.cp

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

2007-04-30 Thread Christopher Lamb
Changes in directory llvm/include/llvm/CodeGen: ELFRelocation.h updated: 1.1 -> 1.2 --- Log message: Implement review feedback. --- Diffs of the changes: (+4 -1) ELFRelocation.h |5 - 1 files changed, 4 insertions(+), 1 deletion(-) Index: llvm/include/llvm/CodeGen/ELFRelocation.h

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

2007-04-30 Thread Chris Lattner
Changes in directory llvm/lib/CodeGen: BranchFolding.cpp updated: 1.45 -> 1.46 --- Log message: Fix PR1228: http://llvm.org/PR1228 and CodeGen/Generic/2007-04-30-LandingPadBranchFolding.ll --- Diffs of the changes: (+8 -2) BranchFolding.cpp | 10 -- 1 files changed, 8 insertion

[llvm-commits] CVS: llvm/test/CodeGen/Generic/2007-04-30-LandingPadBranchFolding.ll

2007-04-30 Thread Chris Lattner
Changes in directory llvm/test/CodeGen/Generic: 2007-04-30-LandingPadBranchFolding.ll added (r1.1) --- Log message: testcase for PR1228: http://llvm.org/PR1228 --- Diffs of the changes: (+59 -0) 2007-04-30-LandingPadBranchFolding.ll | 59 ++ 1 files chang

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

2007-04-30 Thread Chris Lattner
Changes in directory llvm/lib/CodeGen: MachineBasicBlock.cpp updated: 1.43 -> 1.44 --- Log message: print isLandingPad() for MBBs --- Diffs of the changes: (+5 -3) MachineBasicBlock.cpp |8 +--- 1 files changed, 5 insertions(+), 3 deletions(-) Index: llvm/lib/CodeGen/MachineBasic

[llvm-commits] [126740] Don't strip the libstdc++.dylib thingy.

2007-04-30 Thread bwendlin
Revision: 126740 Author: bwendlin Date: 2007-04-30 15:37:52 -0700 (Mon, 30 Apr 2007) Log Message: --- Don't strip the libstdc++.dylib thingy. Modified Paths: -- apple-local/branches/llvm/build_gcc Modified: apple-local/branches/llvm/build_gcc ===

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

2007-04-30 Thread Chris Lattner
> > Header file for ELF relocations. Oooh cool > + #ifndef LLVM_CODEGEN_ELF_RELOCATION_H > + #define LLVM_CODEGEN_ELF_RELOCATION_H Please #include "llvm/Support/DataTypes.h", since this file uses int64_t etc. > + > + namespace llvm { ... > + ELFRelocation(uint64_t off, uint32_t sym, uint

[llvm-commits] [126738] This function isn't used when ENABLE_LLVM is defined.

2007-04-30 Thread bwendlin
Revision: 126738 Author: bwendlin Date: 2007-04-30 14:36:53 -0700 (Mon, 30 Apr 2007) Log Message: --- This function isn't used when ENABLE_LLVM is defined. Modified Paths: -- apple-local/branches/llvm/gcc/varasm.c Modified: apple-local/branches/llvm/gcc/varasm.c ===

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

2007-04-30 Thread Chris Lattner
Changes in directory llvm/lib/CodeGen/SelectionDAG: SelectionDAGISel.cpp updated: 1.441 -> 1.442 --- Log message: Continue refactoring inline asm code. If there is an earlyclobber output register, preallocate all input registers and the early clobbered output. This fixes PR1357: http://llvm.o

[llvm-commits] CVS: llvm/test/CodeGen/PowerPC/2007-04-30-InlineAsmEarlyClobber.ll

2007-04-30 Thread Chris Lattner
Changes in directory llvm/test/CodeGen/PowerPC: 2007-04-30-InlineAsmEarlyClobber.ll added (r1.1) --- Log message: testcase for PR1357: http://llvm.org/PR1357 --- Diffs of the changes: (+27 -0) 2007-04-30-InlineAsmEarlyClobber.ll | 27 +++ 1 files changed, 27 inse

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

2007-04-30 Thread Christopher Lamb
Changes in directory llvm/include/llvm/CodeGen: ELFRelocation.h added (r1.1) --- Log message: Header file for ELF relocations. --- Diffs of the changes: (+49 -0) ELFRelocation.h | 49 + 1 files changed, 49 insertions(+) Index: llvm/includ

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

2007-04-30 Thread Evan Cheng
That's fine. Thanks. Evan On Apr 30, 2007, at 6:55 AM, Lauro Ramos Venancio wrote: Evan, The problem is the semantics. A possible solution is rename UseThumbBacktraces to UseThumbFramePtrReg. Lauro 2007/4/27, Evan Cheng < [EMAIL PROTECTED]>: Hi Lauro, It would be better to fix ARMSubtar

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

2007-04-30 Thread Anton Korobeynikov
Changes in directory llvm/include/llvm: GlobalValue.h updated: 1.41 -> 1.42 --- Log message: Fix comment --- Diffs of the changes: (+4 -3) GlobalValue.h |7 --- 1 files changed, 4 insertions(+), 3 deletions(-) Index: llvm/include/llvm/GlobalValue.h diff -u llvm/include/llvm/Globa

[llvm-commits] [126737] Fix the race condition where a dylib is used before it' s actually created.

2007-04-30 Thread bwendlin
Revision: 126737 Author: bwendlin Date: 2007-04-30 12:14:35 -0700 (Mon, 30 Apr 2007) Log Message: --- Fix the race condition where a dylib is used before it's actually created. Naming it a unique name for each stage will fix this. Modified Paths: -- apple-local/branc

[llvm-commits] CVS: nightlytest-serverside/AcceptTestResults.php

2007-04-30 Thread Tanya Lattner
Changes in directory nightlytest-serverside: AcceptTestResults.php updated: 1.3 -> 1.4 --- Log message: target triple not require for now. --- Diffs of the changes: (+0 -4) AcceptTestResults.php |4 1 files changed, 4 deletions(-) Index: nightlytest-serverside/AcceptTestResults.

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

2007-04-30 Thread Evan Cheng
Changes in directory llvm/lib/CodeGen: README.txt updated: 1.4 -> 1.5 --- Log message: Updates. --- Diffs of the changes: (+57 -1) README.txt | 58 +- 1 files changed, 57 insertions(+), 1 deletion(-) Index: llvm/lib/CodeGen/README.

[llvm-commits] CVS: nightlytest-serverside/AcceptTestResults.php

2007-04-30 Thread Tanya Lattner
Changes in directory nightlytest-serverside: AcceptTestResults.php updated: 1.2 -> 1.3 --- Log message: Adding target triple. --- Diffs of the changes: (+7 -1) AcceptTestResults.php |8 +++- 1 files changed, 7 insertions(+), 1 deletion(-) Index: nightlytest-serverside/AcceptTestR

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

2007-04-30 Thread Chris Lattner
Changes in directory llvm/lib/CodeGen/SelectionDAG: SelectionDAGISel.cpp updated: 1.440 -> 1.441 --- Log message: refactor GetRegistersForValue to take OpInfo as an argument instead of various pieces of it. No functionality change. --- Diffs of the changes: (+101 -98) SelectionDAGISel.cpp

[llvm-commits] CVS: nightlytest-serverside/AcceptTestResults.php

2007-04-30 Thread Tanya Lattner
Changes in directory nightlytest-serverside: AcceptTestResults.php updated: 1.1 -> 1.2 --- Log message: Removed extra call to function. --- Diffs of the changes: (+1 -2) AcceptTestResults.php |3 +-- 1 files changed, 1 insertion(+), 2 deletions(-) Index: nightlytest-serverside/Accept

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

2007-04-30 Thread Chris Lattner
Changes in directory llvm/lib/CodeGen/SelectionDAG: SelectionDAGISel.cpp updated: 1.439 -> 1.440 --- Log message: refactor some code, no functionality change --- Diffs of the changes: (+52 -44) SelectionDAGISel.cpp | 96 +++ 1 files changed

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

2007-04-30 Thread Chris Lattner
Changes in directory llvm/lib/CodeGen: AsmPrinter.cpp updated: 1.159 -> 1.160 --- Log message: Clean up multi-line asam string printing. Instead of printing: # InlineAsm Start subfc r3,r5,r4 subfze r4,r3 # InlineAsm End print: # InlineAsm Star

[llvm-commits] Patch for bug in llvm-ld

2007-04-30 Thread jlh
Hello! I've been told to send this here. In tools/llvm-ld/llvm-ld.cpp, line 360, a const char* to a temporary std::string is being stored, with the string going out of scope right after, making that pointer invalid. std::string lib_name = "-l" + LinkItems[index].first; args.push_back(lib

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

2007-04-30 Thread Lauro Ramos Venancio
Evan, The problem is the semantics. A possible solution is rename UseThumbBacktraces to UseThumbFramePtrReg. Lauro 2007/4/27, Evan Cheng <[EMAIL PROTECTED]>: Hi Lauro, It would be better to fix ARMSubtarget.cpp instead. Just initialize UseThumbBacktraces to the value of input parameter thumb

Re: [llvm-commits] CVS: llvm/test/CodeGen/X86/ispositive.ll

2007-04-30 Thread Reid Spencer
On Sun, 29 Apr 2007 22:29:17 -0700 Chris Lattner <[EMAIL PROTECTED]> wrote: > >Reid, why are you duplicating these tests? Because they need to be. Such tests will cause false regressions if LLVM is not built with support for all the targets used in the test case. Duplicating them into the vario

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

2007-04-30 Thread Anton Korobeynikov
Changes in directory llvm/lib/VMCore: Globals.cpp updated: 1.22 -> 1.23 --- Log message: Fix typo. Interesting, but old variant worked too :) --- Diffs of the changes: (+1 -1) Globals.cpp |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm/lib/VMCore/Globals.cpp diff -u