diff options
author | Jim Grosbach <grosbach@apple.com> | 2010-07-06 23:44:52 +0000 |
---|---|---|
committer | Jim Grosbach <grosbach@apple.com> | 2010-07-06 23:44:52 +0000 |
commit | c66e150b2cb1f2f8e2f4eb124b9177ffc6ef3a74 (patch) | |
tree | 9c79978c7af8e4b3b9f74d2331a18ac8c8df157e /lib/Target/ARM | |
parent | d3b376b4483d816367dd28a41bcbccede1cdcbf0 (diff) | |
download | external_llvm-c66e150b2cb1f2f8e2f4eb124b9177ffc6ef3a74.zip external_llvm-c66e150b2cb1f2f8e2f4eb124b9177ffc6ef3a74.tar.gz external_llvm-c66e150b2cb1f2f8e2f4eb124b9177ffc6ef3a74.tar.bz2 |
By default, the eh.sjlj.setjmp/longjmp intrinsics should just do nothing rather
than assuming a target will custom lower them. Targets which do so should
exlicitly mark them as having custom lowerings. PR7454.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@107734 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/ARM')
-rw-r--r-- | lib/Target/ARM/ARMISelLowering.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Target/ARM/ARMISelLowering.cpp b/lib/Target/ARM/ARMISelLowering.cpp index 0894afe..7f9ce72 100644 --- a/lib/Target/ARM/ARMISelLowering.cpp +++ b/lib/Target/ARM/ARMISelLowering.cpp @@ -473,6 +473,8 @@ ARMTargetLowering::ARMTargetLowering(TargetMachine &TM) // We want to custom lower some of our intrinsics. setOperationAction(ISD::INTRINSIC_WO_CHAIN, MVT::Other, Custom); + setOperationAction(ISD::EH_SJLJ_SETJMP, MVT::i32, Custom); + setOperationAction(ISD::EH_SJLJ_LONGJMP, MVT::Other, Custom); setOperationAction(ISD::SETCC, MVT::i32, Expand); setOperationAction(ISD::SETCC, MVT::f32, Expand); |