From 1008612b366dca8b6271758ad5f6c7bbbae3ffa3 Mon Sep 17 00:00:00 2001 From: Duncan Sands Date: Tue, 13 Oct 2009 09:24:02 +0000 Subject: [PATCH] The eh.exception intrinsic only reads from memory, it doesn't write to it. llvm-svn: 83963 --- llvm/include/llvm/Intrinsics.td | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llvm/include/llvm/Intrinsics.td b/llvm/include/llvm/Intrinsics.td index bfa924cd866b..c38117caeb72 100644 --- a/llvm/include/llvm/Intrinsics.td +++ b/llvm/include/llvm/Intrinsics.td @@ -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],