Mark the llvm.eh.sjlj.functioncontext intrinsic as reading memory so that fast
authorBill Wendling <isanbard@gmail.com>
Mon, 10 Oct 2011 17:08:47 +0000 (17:08 +0000)
committerBill Wendling <isanbard@gmail.com>
Mon, 10 Oct 2011 17:08:47 +0000 (17:08 +0000)
isel doesn't ignore it.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@141548 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Intrinsics.td

index e06ca4a6c5ea0b8a8017495450284bcd4d18b905..d70f9153fd8aae5840ff6c9b25e1af6eece7352d 100644 (file)
@@ -324,11 +324,11 @@ def int_eh_dwarf_cfa  : Intrinsic<[llvm_ptr_ty], [llvm_i32_ty]>;
 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_functioncontext  : Intrinsic<[], [llvm_ptr_ty]>;
 }
-def int_eh_sjlj_dispatch_setup : Intrinsic<[], [llvm_i32_ty]>;
-def int_eh_sjlj_setjmp         : Intrinsic<[llvm_i32_ty], [llvm_ptr_ty]>;
-def int_eh_sjlj_longjmp        : Intrinsic<[], [llvm_ptr_ty]>;
+def int_eh_sjlj_functioncontext : Intrinsic<[], [llvm_ptr_ty]>;
+def int_eh_sjlj_dispatch_setup  : Intrinsic<[], [llvm_i32_ty]>;
+def int_eh_sjlj_setjmp          : Intrinsic<[llvm_i32_ty], [llvm_ptr_ty]>;
+def int_eh_sjlj_longjmp         : Intrinsic<[], [llvm_ptr_ty]>;
 
 //===---------------- Generic Variable Attribute Intrinsics----------------===//
 //