[llvm-commits] CVS: llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp TargetLowering.cpp
Anton Korobeynikov
asl at math.spbu.ru
Sun Dec 10 15:13:09 PST 2006
Changes in directory llvm/lib/CodeGen/SelectionDAG:
SelectionDAGISel.cpp updated: 1.326 -> 1.327
TargetLowering.cpp updated: 1.82 -> 1.83
---
Log message:
Cleaned setjmp/longjmp lowering interfaces. Now we're producing right
code (both asm & cbe) for Mingw32 target.
Removed autoconf checks for underscored versions of setjmp/longjmp.
---
Diffs of the changes: (+4 -3)
SelectionDAGISel.cpp | 4 ++--
TargetLowering.cpp | 3 ++-
2 files changed, 4 insertions(+), 3 deletions(-)
Index: llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
diff -u llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp:1.326 llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp:1.327
--- llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp:1.326 Fri Dec 8 20:42:38 2006
+++ llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp Sun Dec 10 17:12:42 2006
@@ -1974,10 +1974,10 @@
case Intrinsic::returnaddress: visitFrameReturnAddress(I, false); return 0;
case Intrinsic::frameaddress: visitFrameReturnAddress(I, true); return 0;
case Intrinsic::setjmp:
- return "_setjmp"+!TLI.usesUnderscoreSetJmpLongJmp();
+ return "_setjmp"+!TLI.usesUnderscoreSetJmp();
break;
case Intrinsic::longjmp:
- return "_longjmp"+!TLI.usesUnderscoreSetJmpLongJmp();
+ return "_longjmp"+!TLI.usesUnderscoreLongJmp();
break;
case Intrinsic::memcpy_i32:
case Intrinsic::memcpy_i64:
Index: llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
diff -u llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp:1.82 llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp:1.83
--- llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp:1.82 Fri Dec 8 20:42:38 2006
+++ llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp Sun Dec 10 17:12:42 2006
@@ -47,7 +47,8 @@
sizeof(TargetDAGCombineArray)/sizeof(TargetDAGCombineArray[0]));
maxStoresPerMemset = maxStoresPerMemcpy = maxStoresPerMemmove = 8;
allowUnalignedMemoryAccesses = false;
- UseUnderscoreSetJmpLongJmp = false;
+ UseUnderscoreSetJmp = false;
+ UseUnderscoreLongJmp = false;
IntDivIsCheap = false;
Pow2DivIsCheap = false;
StackPointerRegisterToSaveRestore = 0;
More information about the llvm-commits
mailing list