summaryrefslogtreecommitdiffstats
path: root/llvm/include
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2011-05-11 01:11:55 +0000
committerBill Wendling <isanbard@gmail.com>2011-05-11 01:11:55 +0000
commit50117f81862fa1f6c5f50db9ca32ac8fa2776255 (patch)
treea934361b1612c654bd8e22c6c0eeb4b81b53b061 /llvm/include
parente2b889be6559de5e7dd62f043810d310dd8fde25 (diff)
downloadbcm5719-llvm-50117f81862fa1f6c5f50db9ca32ac8fa2776255.tar.gz
bcm5719-llvm-50117f81862fa1f6c5f50db9ca32ac8fa2776255.zip
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> llvm-svn: 131174
Diffstat (limited to 'llvm/include')
-rw-r--r--llvm/include/llvm/Intrinsics.td2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/include/llvm/Intrinsics.td b/llvm/include/llvm/Intrinsics.td
index a63cd6ab600..ba557cec251 100644
--- a/llvm/include/llvm/Intrinsics.td
+++ b/llvm/include/llvm/Intrinsics.td
@@ -307,7 +307,7 @@ let Properties = [IntrNoMem] in {
def int_eh_sjlj_lsda : Intrinsic<[llvm_ptr_ty]>;
def int_eh_sjlj_callsite: Intrinsic<[], [llvm_i32_ty]>;
}
-def int_eh_sjlj_dispatch_setup : Intrinsic<[], []>;
+def int_eh_sjlj_dispatch_setup : Intrinsic<[], [llvm_i32_ty], [IntrReadMem]>;
def int_eh_sjlj_setjmp : Intrinsic<[llvm_i32_ty], [llvm_ptr_ty]>;
def int_eh_sjlj_longjmp : Intrinsic<[], [llvm_ptr_ty]>;
OpenPOWER on IntegriCloud