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

2006-11-27 Thread Bill Wendling
Changes in directory llvm/lib/Linker: LinkModules.cpp updated: 1.118 - 1.119 Linker.cpp updated: 1.11 - 1.12 --- Log message: Removed #include iostream and replaced with llvm_* streams. --- Diffs of the changes: (+16 -20) LinkModules.cpp | 18 +- Linker.cpp | 18

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

2006-11-27 Thread Bill Wendling
Changes in directory llvm/include/llvm/Support: Streams.h updated: 1.2 - 1.3 --- Log message: Protect against null streams. --- Diffs of the changes: (+1 -1) Streams.h |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm/include/llvm/Support/Streams.h diff -u

Re: [llvm-commits] [llvm-gcc] CAST Patch for llvm-gcc (Please Commit!)

2006-11-27 Thread Jim Laskey
Reid, Your ConvertInst changes are not in the llvm tree as yet, so this fails to build on PowerPC. Won't make today's llvm-gcc mirror. Cheers, -- Jim On Nov 26, 2006, at 9:30 PM, Reid Spencer wrote: The LLVM Cast patch has been committed. Please commit this patch to llvm-gcc as soon as

Re: [llvm-commits] [llvm-gcc] CAST Patch for llvm-gcc (Please Commit!)

2006-11-27 Thread Reid Spencer
On Mon, 2006-11-27 at 09:54 -0400, Jim Laskey wrote: Reid, Your ConvertInst changes are not in the llvm tree as yet, Oops. Please apply the attached patch for rs6000.h. Thanks, Reid. so this fails to build on PowerPC. Won't make today's llvm-gcc mirror. Hmm .. you mean config/

[llvm-commits] [llvm-gcc] CAST Patch, Take 2

2006-11-27 Thread Reid Spencer
All, The first CAST patch I sent should work fine on X86 systems. However, there was a PPC problem. The attached patch fixes that. So, if you're on Darwin, use this one instead of the original. Jim, please try this out. I have no way to compile it here. Thanks. Reid. Index: gcc/llvm-convert.cpp

Re: [llvm-commits] [llvm-gcc] CAST Patch, Take 2

2006-11-27 Thread Jim Laskey
All set. Will be in tomorrow's mirror. -- Jim On Nov 27, 2006, at 12:50 PM, Reid Spencer wrote: All, The first CAST patch I sent should work fine on X86 systems. However, there was a PPC problem. The attached patch fixes that. So, if you're on Darwin, use this one instead of the

[llvm-commits] CVS: llvm-www/releases/index.html

2006-11-27 Thread Misha Brukman
Changes in directory llvm-www/releases: index.html updated: 1.33 - 1.34 --- Log message: * Added link to v1.9 docs * Wrapped HTML at 80 cols; removed extra blank lines --- Diffs of the changes: (+3 -7) index.html | 10 +++--- 1 files changed, 3 insertions(+), 7 deletions(-) Index:

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

2006-11-27 Thread Reid Spencer
Changes in directory llvm/lib/Target/CBackend: Writer.cpp updated: 1.283 - 1.284 --- Log message: When truncating to bool, it is necessary to with 1 for all casts that can result in a bool. Previously PtrToInt, FPToUI and FPToSI were missing this operation. --- Diffs of the changes: (+10

[llvm-commits] CVS: llvm/test/Regression/Transforms/InstCombine/2006-11-27-XorBug.ll

2006-11-27 Thread Chris Lattner
Changes in directory llvm/test/Regression/Transforms/InstCombine: 2006-11-27-XorBug.ll added (r1.1) --- Log message: testcase for PR1014: http://llvm.org/PR1014 --- Diffs of the changes: (+11 -0) 2006-11-27-XorBug.ll | 11 +++ 1 files changed, 11 insertions(+) Index:

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

2006-11-27 Thread Chris Lattner
Changes in directory llvm/lib/Transforms/Scalar: InstructionCombining.cpp updated: 1.548 - 1.549 --- Log message: Fix PR1014: http://llvm.org/PR1014 and InstCombine/2006-11-27-XorBug.ll. --- Diffs of the changes: (+8 -10) InstructionCombining.cpp | 18 -- 1 files

[llvm-commits] CVS: llvm/test/Regression/CodeGen/X86/trunc-to-bool.ll

2006-11-27 Thread Reid Spencer
Changes in directory llvm/test/Regression/CodeGen/X86: trunc-to-bool.ll updated: 1.2 - 1.3 --- Log message: Add 3 more test cases for ptrtoint, fptoui and fptosi --- Diffs of the changes: (+28 -1) trunc-to-bool.ll | 29 - 1 files changed, 28 insertions(+), 1

[llvm-commits] CVS: llvm/test/Regression/Transforms/InstCombine/cast-and-cast.ll

2006-11-27 Thread Chris Lattner
Changes in directory llvm/test/Regression/Transforms/InstCombine: cast-and-cast.ll updated: 1.1 - 1.2 --- Log message: this doesn't pass with CVS HEAD. --- Diffs of the changes: (+5 -0) cast-and-cast.ll |5 + 1 files changed, 5 insertions(+) Index:

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

2006-11-27 Thread Chris Lattner
Changes in directory llvm/docs: LangRef.html updated: 1.173 - 1.174 --- Log message: remove dead tag --- Diffs of the changes: (+1 -2) LangRef.html |3 +-- 1 files changed, 1 insertion(+), 2 deletions(-) Index: llvm/docs/LangRef.html diff -u llvm/docs/LangRef.html:1.173

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

2006-11-27 Thread Chris Lattner
Changes in directory llvm/lib/CodeGen/SelectionDAG: TargetLowering.cpp updated: 1.80 - 1.81 --- Log message: Fix the dag combiner bug corresponding to PR1014: http://llvm.org/PR1014 . --- Diffs of the changes: (+8 -8) TargetLowering.cpp | 16 1 files changed, 8

Re: [llvm-commits] External weak linkage patches for review

2006-11-27 Thread Chris Lattner
On Nov 25, 2006, at 5:44 PM, Anton Korobeynikov wrote: Hello, Everyone. Please find patches for LLVM llvm-gcc4 which enables external weak linkage. This is just first draft. The patch looks good. Please change these asserts: + case GlobalValue::ExternalWeakLinkage: + if

Re: [llvm-commits] CAST patch committed

2006-11-27 Thread Chris Lattner
2. Although I tried for two weeks, I was unsuccessful in making LLVM code generation emit the right code for cast to bool. Currently, the instcombine pass is turning these into setne X, 0 as is the current HEAD functionality. When the backend can handle a cast to bool properly (including

[llvm-commits] CVS: llvm-test/MultiSource/Applications/obsequi/obsequi.c

2006-11-27 Thread Reid Spencer
Changes in directory llvm-test/MultiSource/Applications/obsequi: obsequi.c updated: 1.4 - 1.5 --- Log message: Implement a poor-mans version of getline that hopefully works for this program on most platforms. --- Diffs of the changes: (+16 -3) obsequi.c | 19 --- 1

[llvm-commits] CVS: llvm-test/SingleSource/UnitTests/FloatPrecision.c

2006-11-27 Thread Chris Lattner
Changes in directory llvm-test/SingleSource/UnitTests: FloatPrecision.c updated: 1.2 - 1.3 --- Log message: do not depend on undefined behavior --- Diffs of the changes: (+1 -1) FloatPrecision.c |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index:

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

2006-11-27 Thread Evan Cheng
Changes in directory llvm/lib/Target/IA64: IA64Bundling.cpp updated: 1.3 - 1.4 IA64ISelLowering.cpp updated: 1.49 - 1.50 IA64InstrInfo.cpp updated: 1.6 - 1.7 IA64RegisterInfo.cpp updated: 1.23 - 1.24 IA64RegisterInfo.h updated: 1.8 - 1.9 --- Log message: Change MachineInstr ctor's to take a

[llvm-commits] CVS: llvm/lib/Target/X86/X86FloatingPoint.cpp X86ISelDAGToDAG.cpp X86ISelLowering.cpp X86InstrInfo.cpp X86RegisterInfo.cpp

2006-11-27 Thread Evan Cheng
Changes in directory llvm/lib/Target/X86: X86FloatingPoint.cpp updated: 1.60 - 1.61 X86ISelDAGToDAG.cpp updated: 1.129 - 1.130 X86ISelLowering.cpp updated: 1.294 - 1.295 X86InstrInfo.cpp updated: 1.74 - 1.75 X86RegisterInfo.cpp updated: 1.180 - 1.181 --- Log message: Change MachineInstr ctor's

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

2006-11-27 Thread Evan Cheng
Changes in directory llvm/lib/Target/ARM: ARMInstrInfo.cpp updated: 1.9 - 1.10 ARMMul.cpp updated: 1.3 - 1.4 ARMRegisterInfo.cpp updated: 1.26 - 1.27 ARMRegisterInfo.h updated: 1.2 - 1.3 --- Log message: Change MachineInstr ctor's to take a TargetInstrDescriptor reference instead of opcode and

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

2006-11-27 Thread Evan Cheng
Changes in directory llvm/include/llvm/CodeGen: MachineInstr.h updated: 1.200 - 1.201 MachineInstrBuilder.h updated: 1.40 - 1.41 --- Log message: Change MachineInstr ctor's to take a TargetInstrDescriptor reference instead of opcode and number of operands. --- Diffs of the changes: (+30

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

2006-11-27 Thread Evan Cheng
Changes in directory llvm/lib/CodeGen: MachineBasicBlock.cpp updated: 1.34 - 1.35 MachineInstr.cpp updated: 1.132 - 1.133 --- Log message: Change MachineInstr ctor's to take a TargetInstrDescriptor reference instead of opcode and number of operands. --- Diffs of the changes: (+15 -21)

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

2006-11-27 Thread Evan Cheng
Changes in directory llvm/lib/CodeGen/SelectionDAG: ScheduleDAG.cpp updated: 1.109 - 1.110 SelectionDAGISel.cpp updated: 1.320 - 1.321 --- Log message: Change MachineInstr ctor's to take a TargetInstrDescriptor reference instead of opcode and number of operands. --- Diffs of the changes: (+4

[llvm-commits] CVS: llvm/lib/Target/Sparc/DelaySlotFiller.cpp FPMover.cpp SparcISelDAGToDAG.cpp SparcInstrInfo.cpp SparcRegisterInfo.cpp SparcRegisterInfo.h

2006-11-27 Thread Evan Cheng
Changes in directory llvm/lib/Target/Sparc: DelaySlotFiller.cpp updated: 1.10 - 1.11 FPMover.cpp updated: 1.13 - 1.14 SparcISelDAGToDAG.cpp updated: 1.114 - 1.115 SparcInstrInfo.cpp updated: 1.16 - 1.17 SparcRegisterInfo.cpp updated: 1.47 - 1.48 SparcRegisterInfo.h updated: 1.14 - 1.15 --- Log

[llvm-commits] CVS: llvm/lib/Target/PowerPC/PPCBranchSelector.cpp PPCISelDAGToDAG.cpp PPCISelLowering.cpp PPCInstrInfo.cpp PPCRegisterInfo.cpp PPCRegisterInfo.h

2006-11-27 Thread Evan Cheng
Changes in directory llvm/lib/Target/PowerPC: PPCBranchSelector.cpp updated: 1.38 - 1.39 PPCISelDAGToDAG.cpp updated: 1.224 - 1.225 PPCISelLowering.cpp updated: 1.232 - 1.233 PPCInstrInfo.cpp updated: 1.34 - 1.35 PPCRegisterInfo.cpp updated: 1.89 - 1.90 PPCRegisterInfo.h updated: 1.18 - 1.19

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

2006-11-27 Thread Evan Cheng
Changes in directory llvm/lib/Target/Alpha: AlphaInstrInfo.cpp updated: 1.14 - 1.15 AlphaLLRP.cpp updated: 1.3 - 1.4 AlphaRegisterInfo.cpp updated: 1.52 - 1.53 AlphaRegisterInfo.h updated: 1.14 - 1.15 --- Log message: Change MachineInstr ctor's to take a TargetInstrDescriptor reference instead

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

2006-11-27 Thread Andrew Lenharth
Changes in directory llvm/lib/Target/CBackend: Writer.cpp updated: 1.284 - 1.285 --- Log message: Preliminary support for inline asm in the cbe. The target specific ugliness is still in Writer, but issolated to a single function. This might be split into something in each target directory.

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

2006-11-27 Thread Bill Wendling
Changes in directory llvm/lib/ExecutionEngine: ExecutionEngine.cpp updated: 1.88 - 1.89 --- Log message: Removed #include iostream and replaced streams with llvm streams. --- Diffs of the changes: (+11 -12) ExecutionEngine.cpp | 23 +++ 1 files changed, 11

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

2006-11-27 Thread Bill Wendling
Changes in directory llvm/lib/ExecutionEngine/Interpreter: Execution.cpp updated: 1.148 - 1.149 ExternalFunctions.cpp updated: 1.89 - 1.90 --- Log message: Removed #include iostream and replaced streams with llvm streams. --- Diffs of the changes: (+36 -35) Execution.cpp | 58

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

2006-11-27 Thread Chris Lattner
Changes in directory llvm/lib/CodeGen/SelectionDAG: LegalizeDAG.cpp updated: 1.418 - 1.419 --- Log message: Fix PR1016: http://llvm.org/PR1016 --- Diffs of the changes: (+4 -5) LegalizeDAG.cpp |9 - 1 files changed, 4 insertions(+), 5 deletions(-) Index:

[llvm-commits] CVS: llvm/test/Regression/CodeGen/X86/2006-11-27-SelectLegalize.ll

2006-11-27 Thread Chris Lattner
Changes in directory llvm/test/Regression/CodeGen/X86: 2006-11-27-SelectLegalize.ll added (r1.1) --- Log message: testcase for pr1016: http://llvm.org/PR1016 --- Diffs of the changes: (+8 -0) 2006-11-27-SelectLegalize.ll |8 1 files changed, 8 insertions(+) Index:

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

2006-11-27 Thread Evan Cheng
Changes in directory llvm/lib/Target/X86: X86InstrX86-64.td updated: 1.7 - 1.8 --- Log message: Fix JIT encoding bugs for shift / rotate by one ops. --- Diffs of the changes: (+5 -5) X86InstrX86-64.td | 10 +- 1 files changed, 5 insertions(+), 5 deletions(-) Index:

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

2006-11-27 Thread Bill Wendling
Changes in directory llvm/lib/CodeGen: IntrinsicLowering.cpp updated: 1.47 - 1.48 LiveInterval.cpp updated: 1.36 - 1.37 --- Log message: Changed to using llvm streams. --- Diffs of the changes: (+14 -15) IntrinsicLowering.cpp | 19 +-- LiveInterval.cpp | 10

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

2006-11-27 Thread Bill Wendling
Changes in directory llvm/include/llvm/CodeGen: LiveInterval.h updated: 1.26 - 1.27 --- Log message: Added helper function to transition to using llvm streams. --- Diffs of the changes: (+13 -2) LiveInterval.h | 15 +-- 1 files changed, 13 insertions(+), 2 deletions(-)

[llvm-commits] CVS: llvm/lib/VMCore/AsmWriter.cpp AutoUpgrade.cpp LeakDetector.cpp PassManager.cpp TypeSymbolTable.cpp Verifier.cpp

2006-11-27 Thread Bill Wendling
Changes in directory llvm/lib/VMCore: AsmWriter.cpp updated: 1.213 - 1.214 AutoUpgrade.cpp updated: 1.21 - 1.22 LeakDetector.cpp updated: 1.15 - 1.16 PassManager.cpp updated: 1.32 - 1.33 TypeSymbolTable.cpp updated: 1.3 - 1.4 Verifier.cpp updated: 1.167 - 1.168 --- Log message: Changed to

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

2006-11-27 Thread Evan Cheng
Changes in directory llvm/lib/CodeGen: MachineInstr.cpp updated: 1.133 - 1.134 --- Log message: Clean up. --- Diffs of the changes: (+2 -2) MachineInstr.cpp |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) Index: llvm/lib/CodeGen/MachineInstr.cpp diff -u

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

2006-11-27 Thread Evan Cheng
Changes in directory llvm/include/llvm/CodeGen: MachineInstrBuilder.h updated: 1.41 - 1.42 --- Log message: Fix indentation. --- Diffs of the changes: (+2 -2) MachineInstrBuilder.h |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) Index:

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

2006-11-27 Thread Bill Wendling
Changes in directory llvm/lib/CodeGen: LiveInterval.cpp updated: 1.37 - 1.38 --- Log message: Put the #include for a module first. --- Diffs of the changes: (+1 -1) LiveInterval.cpp |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm/lib/CodeGen/LiveInterval.cpp diff

[llvm-commits] CVS: llvm/test/Regression/Transforms/InstCombine/2003-11-03-VarargsCallBug.ll

2006-11-27 Thread Reid Spencer
Changes in directory llvm/test/Regression/Transforms/InstCombine: 2003-11-03-VarargsCallBug.ll updated: 1.2 - 1.3 --- Log message: Fix a typo. --- Diffs of the changes: (+1 -1) 2003-11-03-VarargsCallBug.ll |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index:

[llvm-commits] CVS: llvm-test/RunSafely.sh

2006-11-27 Thread Reid Spencer
Changes in directory llvm-test: RunSafely.sh updated: 1.23 - 1.24 --- Log message: Make the script always output an exit retval line to the end of the program's output. This will make differences in the return val show up when the reference and test outputs are diff'd. --- Diffs of the

[llvm-commits] CVS: llvm-test/Makefile.programs

2006-11-27 Thread Reid Spencer
Changes in directory llvm-test: Makefile.programs updated: 1.244 - 1.245 --- Log message: Make bugpoint always run with the -append-exit-code option so that it will write out exit retval to the end of the test program's output file. This causes it to mimic RunSafely.sh's behavior and prevents

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

2006-11-27 Thread Reid Spencer
Changes in directory llvm/lib/Transforms/Scalar: InstructionCombining.cpp updated: 1.549 - 1.550 --- Log message: Remove 4 FIXME's from the CAST patch now that the back end is correctly producing code for trunc to bool. This passes all tests on Linux. --- Diffs of the changes: (+3 -46)

[llvm-commits] CVS: llvm/lib/AsmParser/Lexer.l llvmAsmParser.y ParserInternals.h

2006-11-27 Thread Reid Spencer
Changes in directory llvm/lib/AsmParser: Lexer.l updated: 1.84 - 1.85 llvmAsmParser.y updated: 1.277 - 1.278 ParserInternals.h updated: 1.48 - 1.49 --- Log message: Implement signedness caching for values, value lists, constants and constant lists. This is just an internal change to the