mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-12 06:31:14 +00:00
Mark eh.sjlj.set/longjmp custom lowerings as Darwin-only since that's where
they've been tested to work. llvm-svn: 107742
This commit is contained in:
parent
54c2f858b3
commit
71b7efe8ad
@ -473,8 +473,10 @@ ARMTargetLowering::ARMTargetLowering(TargetMachine &TM)
|
|||||||
|
|
||||||
// We want to custom lower some of our intrinsics.
|
// We want to custom lower some of our intrinsics.
|
||||||
setOperationAction(ISD::INTRINSIC_WO_CHAIN, MVT::Other, Custom);
|
setOperationAction(ISD::INTRINSIC_WO_CHAIN, MVT::Other, Custom);
|
||||||
setOperationAction(ISD::EH_SJLJ_SETJMP, MVT::i32, Custom);
|
if (Subtarget->isTargetDarwin()) {
|
||||||
setOperationAction(ISD::EH_SJLJ_LONGJMP, 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::i32, Expand);
|
||||||
setOperationAction(ISD::SETCC, MVT::f32, Expand);
|
setOperationAction(ISD::SETCC, MVT::f32, Expand);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user