Add support for the sig(set|long)jmp intrinsics

llvm-svn: 7951
diff --git a/llvm/lib/Target/Sparc/SparcInstrSelection.cpp b/llvm/lib/Target/Sparc/SparcInstrSelection.cpp
index 970c5fd..ee24333 100644
--- a/llvm/lib/Target/Sparc/SparcInstrSelection.cpp
+++ b/llvm/lib/Target/Sparc/SparcInstrSelection.cpp
@@ -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();