The eh.exception intrinsic only reads from memory, it doesn't
authorDuncan Sands <baldrick@free.fr>
Tue, 13 Oct 2009 09:24:02 +0000 (09:24 +0000)
committerDuncan Sands <baldrick@free.fr>
Tue, 13 Oct 2009 09:24:02 +0000 (09:24 +0000)
write to it.

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

include/llvm/Intrinsics.td

index bfa924cd866bf8449cebaea09e00eca721d9b355..c38117caeb72fb3b8ed3d22303662c2df9f5ccd1 100644 (file)
@@ -289,7 +289,7 @@ let Properties = [IntrNoMem] in {
 
 //===------------------ Exception Handling Intrinsics----------------------===//
 //
-def int_eh_exception    : Intrinsic<[llvm_ptr_ty]>;
+def int_eh_exception    : Intrinsic<[llvm_ptr_ty], [], [IntrReadMem]>;
 def int_eh_selector_i32 : Intrinsic<[llvm_i32_ty],
                                     [llvm_ptr_ty, llvm_ptr_ty, llvm_vararg_ty]>;
 def int_eh_selector_i64 : Intrinsic<[llvm_i64_ty],