Give the 'eh.sjlj.dispatchsetup' intrinsic call the value coming from the setjmp
authorBill Wendling <isanbard@gmail.com>
Wed, 11 May 2011 01:11:55 +0000 (01:11 +0000)
committerBill Wendling <isanbard@gmail.com>
Wed, 11 May 2011 01:11:55 +0000 (01:11 +0000)
commit61512ba251097888963a8f07a35605564bcfc537
treea59c9cfe4b50794890a67e4f1a1ff6af35fa0bed
parent1cfac8c5348e5f079b3f8e04397c753524a34fb8
Give the 'eh.sjlj.dispatchsetup' intrinsic call the value coming from the setjmp
intrinsic call. This prevents it from being reordered so that it appears
*before* the setjmp intrinsic (thus making it completely useless).
<rdar://problem/9409683>

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@131174 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Intrinsics.td
lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
lib/CodeGen/SjLjEHPrepare.cpp
lib/Target/ARM/ARMISelLowering.cpp
lib/Target/ARM/ARMInstrInfo.td