[llvm-commits] CVS: llvm/lib/Target/Sparc/SparcInstrSelection.cpp
Chris Lattner
lattner at cs.uiuc.edu
Mon Aug 18 11:10:06 PDT 2003
Changes in directory llvm/lib/Target/Sparc:
SparcInstrSelection.cpp updated: 1.116 -> 1.117
---
Log message:
Add support for the sig(set|long)jmp intrinsics
---
Diffs of the changes:
Index: llvm/lib/Target/Sparc/SparcInstrSelection.cpp
diff -u llvm/lib/Target/Sparc/SparcInstrSelection.cpp:1.116 llvm/lib/Target/Sparc/SparcInstrSelection.cpp:1.117
--- llvm/lib/Target/Sparc/SparcInstrSelection.cpp:1.116 Mon Aug 11 22:04:05 2003
+++ llvm/lib/Target/Sparc/SparcInstrSelection.cpp Mon Aug 18 11:06:09 2003
@@ -1433,6 +1433,7 @@
addReg(callInstr.getOperand(1)));
return true;
+ case LLVMIntrinsic::sigsetjmp:
case LLVMIntrinsic::setjmp: {
// act as if we return 0
unsigned g0 = target.getRegInfo().getZeroRegNum();
@@ -1441,6 +1442,7 @@
return true;
}
+ case LLVMIntrinsic::siglongjmp:
case LLVMIntrinsic::longjmp: {
// call abort()
Module* M = callInstr.getParent()->getParent()->getParent();
More information about the llvm-commits
mailing list