summaryrefslogtreecommitdiff
path: root/lib/Target
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2011-10-17 20:37:20 +0000
committerBill Wendling <isanbard@gmail.com>2011-10-17 20:37:20 +0000
commit5bc85286ff8940e52edc7be1c8df120f98343ee1 (patch)
tree076f9a0ff2e29c1eff61a8968da823735039e9dc /lib/Target
parentdfc56de70ef7b3d6f8cd15c0628ddee78500be99 (diff)
downloadllvm-5bc85286ff8940e52edc7be1c8df120f98343ee1.tar.gz
llvm-5bc85286ff8940e52edc7be1c8df120f98343ee1.tar.bz2
llvm-5bc85286ff8940e52edc7be1c8df120f98343ee1.tar.xz
Add a call to EmitSjLjDispatchBlock.
Once the intrinsics are marked as having a custom inserter, it will call this method to emit the dispatch table into the machine function. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@142245 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target')
-rw-r--r--lib/Target/ARM/ARMISelLowering.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/Target/ARM/ARMISelLowering.cpp b/lib/Target/ARM/ARMISelLowering.cpp
index 56e06c07b4..dffc7c6c4a 100644
--- a/lib/Target/ARM/ARMISelLowering.cpp
+++ b/lib/Target/ARM/ARMISelLowering.cpp
@@ -6223,6 +6223,14 @@ ARMTargetLowering::EmitInstrWithCustomInserter(MachineInstr *MI,
return BB;
}
+ case ARM::Int_eh_sjlj_setjmp:
+ case ARM::Int_eh_sjlj_setjmp_nofp:
+ case ARM::tInt_eh_sjlj_setjmp:
+ case ARM::t2Int_eh_sjlj_setjmp:
+ case ARM::t2Int_eh_sjlj_setjmp_nofp:
+ EmitSjLjDispatchBlock(MI, BB);
+ return BB;
+
case ARM::ABS:
case ARM::t2ABS: {
// To insert an ABS instruction, we have to insert the