From: Bill Wendling Date: Mon, 10 Oct 2011 17:08:47 +0000 (+0000) Subject: Mark the llvm.eh.sjlj.functioncontext intrinsic as reading memory so that fast X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=475fa2608ca3c9f754ec7979172f8ab0a3b138f0;p=oota-llvm.git Mark the llvm.eh.sjlj.functioncontext intrinsic as reading memory so that fast isel doesn't ignore it. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@141548 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/Intrinsics.td b/include/llvm/Intrinsics.td index e06ca4a6c5e..d70f9153fd8 100644 --- a/include/llvm/Intrinsics.td +++ b/include/llvm/Intrinsics.td @@ -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----------------===// //