[llvm-commits] CVS: llvm/test/CodeGen/Generic/2007-04-14-EHSelectorCrash.ll

2007-04-27 Thread Duncan Sands
Changes in directory llvm/test/CodeGen/Generic: 2007-04-14-EHSelectorCrash.ll added (r1.1) --- Log message: Test that eh_selector lowering accepts global variables as well as bitcasts of global variables. --- Diffs of the changes: (+14 -0) 2007-04-14-EHSelectorCrash.ll | 14

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

2007-04-27 Thread Evan Cheng
Changes in directory llvm/lib/CodeGen/SelectionDAG: LegalizeDAG.cpp updated: 1.488 - 1.489 --- Log message: Expand UINT_TO_FP in turns of SINT_TO_FP when UINTTOFP_* libcalls are not available. --- Diffs of the changes: (+25 -4) LegalizeDAG.cpp | 29 + 1 files

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

2007-04-27 Thread Evan Cheng
Changes in directory llvm/lib/Target/ARM: ARMInstrThumb.td updated: 1.21 - 1.22 --- Log message: tLEApcrel is a AddrModeTs, i.e. pc relative. --- Diffs of the changes: (+6 -2) ARMInstrThumb.td |8 ++-- 1 files changed, 6 insertions(+), 2 deletions(-) Index:

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

2007-04-27 Thread Evan Cheng
Changes in directory llvm/lib/Target/ARM: ARMConstantIslandPass.cpp updated: 1.36 - 1.37 --- Log message: Special handling of LEApcrel and tLEApcrel. --- Diffs of the changes: (+11 -0) ARMConstantIslandPass.cpp | 11 +++ 1 files changed, 11 insertions(+) Index:

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

2007-04-27 Thread Evan Cheng
Changes in directory llvm/lib/Target/ARM: ARMISelLowering.cpp updated: 1.45 - 1.46 --- Log message: Darwin runtime library does not have these. --- Diffs of the changes: (+79 -73) ARMISelLowering.cpp | 152 +++- 1 files changed, 79

[llvm-commits] CVS: llvm/lib/Target/ARM/ARMAsmPrinter.cpp ARMConstantPoolValue.cpp ARMConstantPoolValue.h ARMISelLowering.cpp ARMISelLowering.h ARMInstrInfo.td ARMInstrThumb.td ARMTargetAsmInfo.cpp

2007-04-27 Thread Lauro Ramos Venancio
Changes in directory llvm/lib/Target/ARM: ARMAsmPrinter.cpp updated: 1.67 - 1.68 ARMConstantPoolValue.cpp updated: 1.3 - 1.4 ARMConstantPoolValue.h updated: 1.3 - 1.4 ARMISelLowering.cpp updated: 1.46 - 1.47 ARMISelLowering.h updated: 1.14 - 1.15 ARMInstrInfo.td updated: 1.96 - 1.97

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

2007-04-27 Thread Jeff Cohen
Changes in directory llvm/include/llvm/CodeGen: MachineFrameInfo.h updated: 1.26 - 1.27 --- Log message: Fix prolific source of 'possible loss of data' warnings. --- Diffs of the changes: (+1 -1) MachineFrameInfo.h |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index:

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

2007-04-27 Thread Chris Lattner
Changes in directory llvm/tools/lli: lli.cpp updated: 1.69 - 1.70 --- Log message: reset errno to zero on entry to the application's main function. This fixes MultiSource/Applications/minisat in the JIT. Note that the libsystem stuff should ideally never modify errno. :( --- Diffs of

[llvm-commits] CVS: llvm/test/CodeGen/Generic/2007-04-14-EHSelectorCrash.ll

2007-04-27 Thread Chris Lattner
Changes in directory llvm/test/CodeGen/Generic: 2007-04-14-EHSelectorCrash.ll updated: 1.1 - 1.2 --- Log message: make this testcase harder, to cover PR1326: http://llvm.org/PR1326 --- Diffs of the changes: (+3 -1) 2007-04-14-EHSelectorCrash.ll |4 +++- 1 files changed, 3

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

2007-04-27 Thread Chris Lattner
Changes in directory llvm/lib/CodeGen/SelectionDAG: LegalizeDAG.cpp updated: 1.489 - 1.490 --- Log message: Fix incorrect legalization of EHSELECTOR. This fixes CodeGen/Generic/2007-04-14-EHSelectorCrash.ll and PR1326: http://llvm.org/PR1326 --- Diffs of the changes: (+10 -6)

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

2007-04-27 Thread Chris Lattner
Changes in directory llvm/lib/Transforms/Scalar: InstructionCombining.cpp updated: 1.749 - 1.750 --- Log message: refactor some code relating to pointer cast xforms, pulling it out of the codepath for unrelated casts. --- Diffs of the changes: (+56 -53) InstructionCombining.cpp | 109

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

2007-04-27 Thread Lauro Ramos Venancio
Changes in directory llvm/lib/Target/ARM: ARMRegisterInfo.cpp updated: 1.88 - 1.89 --- Log message: In Thumb mode, the frame register must be R7. --- Diffs of the changes: (+2 -2) ARMRegisterInfo.cpp |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) Index:

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

2007-04-27 Thread Lauro Ramos Venancio
Changes in directory llvm/test/CodeGen/ARM: frame_thumb.ll added (r1.1) --- Log message: In Thumb mode, the frame register must be R7. --- Diffs of the changes: (+9 -0) frame_thumb.ll |9 + 1 files changed, 9 insertions(+) Index: llvm/test/CodeGen/ARM/frame_thumb.ll diff -c

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

2007-04-27 Thread Evan Cheng
Changes in directory llvm/lib/Target/ARM: ARMConstantIslandPass.cpp updated: 1.37 - 1.38 --- Log message: Doh. ARM::LEApcrel is a single instruction MI. --- Diffs of the changes: (+3 -5) ARMConstantIslandPass.cpp |8 +++- 1 files changed, 3 insertions(+), 5 deletions(-) Index:

[llvm-commits] CVS: llvm-www/DevMtgMay2007.html

2007-04-27 Thread Chris Lattner
Changes in directory llvm-www: DevMtgMay2007.html updated: 1.114 - 1.115 --- Log message: add some notes about two talks, these are placeholders pending reorganization of this info next week. --- Diffs of the changes: (+3 -1) DevMtgMay2007.html |4 +++- 1 files changed, 3

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

2007-04-27 Thread Lauro Ramos Venancio
Changes in directory llvm/lib/Target/ARM: ARMRegisterInfo.cpp updated: 1.89 - 1.90 --- Log message: add parenthesis. --- Diffs of the changes: (+2 -2) ARMRegisterInfo.cpp |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) Index: llvm/lib/Target/ARM/ARMRegisterInfo.cpp diff -u

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

2007-04-27 Thread Chris Lattner
Changes in directory llvm/include/llvm: Instructions.h updated: 1.72 - 1.73 --- Log message: add a GEP helper function --- Diffs of the changes: (+6 -0) Instructions.h |6 ++ 1 files changed, 6 insertions(+) Index: llvm/include/llvm/Instructions.h diff -u

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

2007-04-27 Thread Lauro Ramos Venancio
Changes in directory llvm/test/CodeGen/ARM: tls1.ll added (r1.1) tls2.ll added (r1.1) --- Log message: add TLS tests. --- Diffs of the changes: (+38 -0) tls1.ll | 19 +++ tls2.ll | 19 +++ 2 files changed, 38 insertions(+) Index:

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

2007-04-27 Thread Lauro Ramos Venancio
Changes in directory llvm/test/CodeGen/ARM: tls1.ll updated: 1.1 - 1.2 --- Log message: fix the test tls1. --- Diffs of the changes: (+7 -6) tls1.ll | 13 +++-- 1 files changed, 7 insertions(+), 6 deletions(-) Index: llvm/test/CodeGen/ARM/tls1.ll diff -u

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

2007-04-27 Thread Dale Johannesen
Changes in directory llvm/lib/Target/ARM: ARMInstrInfo.td updated: 1.97 - 1.98 --- Log message: Prevent Thumb code from generating ARM instructions --- Diffs of the changes: (+3 -3) ARMInstrInfo.td |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) Index:

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

2007-04-27 Thread Dale Johannesen
Changes in directory llvm/lib/Target/ARM: ARMInstrInfo.td updated: 1.98 - 1.99 --- Log message: change per review --- Diffs of the changes: (+3 -3) ARMInstrInfo.td |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) Index: llvm/lib/Target/ARM/ARMInstrInfo.td diff -u

[llvm-commits] [126663] Don't create libstdc++.dylib links.

2007-04-27 Thread echeng
Revision: 126663 Author: echeng Date: 2007-04-27 17:44:37 -0700 (Fri, 27 Apr 2007) Log Message: --- Don't create libstdc++.dylib links. Just use the one under /usr/lib. Modified Paths: -- apple-local/branches/llvm/build_gcc Modified:

[llvm-commits] CVS: llvm/test/Transforms/InstCombine/bitcast-gep.ll

2007-04-27 Thread Chris Lattner
Changes in directory llvm/test/Transforms/InstCombine: bitcast-gep.ll added (r1.1) --- Log message: new testcase --- Diffs of the changes: (+19 -0) bitcast-gep.ll | 19 +++ 1 files changed, 19 insertions(+) Index: llvm/test/Transforms/InstCombine/bitcast-gep.ll diff -c

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

2007-04-27 Thread Chris Lattner
Changes in directory llvm/lib/Transforms/Scalar: InstructionCombining.cpp updated: 1.750 - 1.751 --- Log message: Implement PR1345: http://llvm.org/PR1345 and Transforms/InstCombine/bitcast-gep.ll --- Diffs of the changes: (+104 -28) InstructionCombining.cpp | 132

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

2007-04-27 Thread Chris Lattner
Changes in directory llvm/include/llvm: InlineAsm.h updated: 1.15 - 1.16 --- Log message: represent indirect operands explicitly in inline asm strings. --- Diffs of the changes: (+7 -5) InlineAsm.h | 12 +++- 1 files changed, 7 insertions(+), 5 deletions(-) Index:

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

2007-04-27 Thread Chris Lattner
Changes in directory llvm/lib/VMCore: InlineAsm.cpp updated: 1.11 - 1.12 --- Log message: represent indirect operands explicitly in inline asm strings. --- Diffs of the changes: (+9 -8) InlineAsm.cpp | 17 + 1 files changed, 9 insertions(+), 8 deletions(-) Index:

[llvm-commits] [126664] Represent indirect inline asm operands explicitly with a '*' prefix.

2007-04-27 Thread clattner
Revision: 126664 Author: clattner Date: 2007-04-27 18:03:48 -0700 (Fri, 27 Apr 2007) Log Message: --- Represent indirect inline asm operands explicitly with a '*' prefix. This is the first of several patches to follow to get this working properly, working towards a fix for PR1356,

[llvm-commits] [126665] Revert previous patch.

2007-04-27 Thread echeng
Revision: 126665 Author: echeng Date: 2007-04-27 18:07:12 -0700 (Fri, 27 Apr 2007) Log Message: --- Revert previous patch. libstdc++.dylib links still needed. Modified Paths: -- apple-local/branches/llvm/build_gcc Modified: apple-local/branches/llvm/build_gcc

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

2007-04-27 Thread Evan Cheng
Hi Lauro, It would be better to fix ARMSubtarget.cpp instead. Just initialize UseThumbBacktraces to the value of input parameter thumb to the ARMSubtarget ctor. Evan On Apr 27, 2007, at 10:58 AM, Lauro Ramos Venancio wrote: Changes in directory llvm/lib/Target/ARM: ARMRegisterInfo.cpp

Re: [llvm-commits] [126665] Revert previous patch.

2007-04-27 Thread Bill
The newest LLVM-GCC merge has this: for t in $TARGETS ; do - ln -s ../../../libstdc++.6.dylib \ + cp -p /usr/lib/libstdc++.6.dylib \ .$DEST_ROOT/lib/gcc/$t-apple-darwin$DARWIN_VERS/$VERS/libstdc++.dylib \ || exit 1 + strip -x -c

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

2007-04-27 Thread Nick Lewycky
Chris Lattner wrote: + if (OrigBase) { +// If we were able to index down into an element, create the GEP +// and bitcast the result. This eliminates one bitcast, potentially +// two. +Instruction *NGEP = new

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

2007-04-27 Thread Chris Lattner
On Apr 27, 2007, at 8:44 PM, Nick Lewycky wrote: Chris Lattner wrote: + if (OrigBase) { +// If we were able to index down into an element, create the GEP +// and bitcast the result. This eliminates one bitcast, potentially +// two. +

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

2007-04-27 Thread Chris Lattner
Changes in directory llvm/lib/CodeGen/SelectionDAG: SelectionDAGISel.cpp updated: 1.431 - 1.432 --- Log message: Fix this to match change to InlineAsm class. --- Diffs of the changes: (+3 -3) SelectionDAGISel.cpp |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) Index:

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

2007-04-27 Thread Chris Lattner
Changes in directory llvm/lib/Transforms/Scalar: InstructionCombining.cpp updated: 1.752 - 1.753 --- Log message: Fix several latent bugs in EmitGEPOffset that didn't manifest with its previous clients. This fixes MallocBench/gs --- Diffs of the changes: (+51 -35)

Re: [llvm-commits] [126665] Revert previous patch.

2007-04-27 Thread Evan Cheng
Please ignore. There was no problem. It's something else that was causing issues. Evan On Apr 27, 2007, at 7:08 PM, Bill wrote: The newest LLVM-GCC merge has this: for t in $TARGETS ; do - ln -s ../../../libstdc++.6.dylib \ + cp -p /usr/lib/libstdc++.6.dylib \

[llvm-commits] CVS: llvm/test/CodeGen/X86/2006-07-20-InlineAsm.ll 2007-04-08-InlineAsmCrash.ll

2007-04-27 Thread Chris Lattner
Changes in directory llvm/test/CodeGen/X86: 2006-07-20-InlineAsm.ll updated: 1.2 - 1.3 2007-04-08-InlineAsmCrash.ll updated: 1.1 - 1.2 --- Log message: update for new inline asm syntax --- Diffs of the changes: (+3 -3) 2006-07-20-InlineAsm.ll |4 ++-- 2007-04-08-InlineAsmCrash.ll

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

2007-04-27 Thread Chris Lattner
Changes in directory llvm/lib/Transforms/Scalar: InstructionCombining.cpp updated: 1.753 - 1.754 --- Log message: fix a bug triggered by 403.gcc --- Diffs of the changes: (+1 -2) InstructionCombining.cpp |3 +-- 1 files changed, 1 insertion(+), 2 deletions(-) Index:

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

2007-04-27 Thread Chris Lattner
Changes in directory llvm/include/llvm/CodeGen: ValueTypes.h updated: 1.33 - 1.34 --- Log message: add a way to make this less brittle --- Diffs of the changes: (+3 -2) ValueTypes.h |5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) Index:

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

2007-04-27 Thread Chris Lattner
Changes in directory llvm/lib/VMCore: ValueTypes.cpp updated: 1.16 - 1.17 --- Log message: add a way to make this less brittle --- Diffs of the changes: (+7 -3) ValueTypes.cpp | 10 +++--- 1 files changed, 7 insertions(+), 3 deletions(-) Index: llvm/lib/VMCore/ValueTypes.cpp diff

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

2007-04-27 Thread Chris Lattner
Changes in directory llvm/include/llvm/Target: TargetLowering.h updated: 1.123 - 1.124 --- Log message: add a default parameter --- Diffs of the changes: (+5 -3) TargetLowering.h |8 +--- 1 files changed, 5 insertions(+), 3 deletions(-) Index:

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

2007-04-27 Thread Chris Lattner
Changes in directory llvm/test/CodeGen/ARM: inlineasm.ll updated: 1.2 - 1.3 --- Log message: update syntax --- Diffs of the changes: (+1 -1) inlineasm.ll |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm/test/CodeGen/ARM/inlineasm.ll diff -u