diff options
author | Chris Lattner <sabre@nondot.org> | 2006-03-12 00:04:28 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2006-03-12 00:04:28 +0000 |
commit | aaf15825494fce98ac8a54dde36711f9ed5f1418 (patch) | |
tree | 8c05b4061851f546cd706195b8e97a4db3bb8873 | |
parent | 84690316227247b9375a797184ca2cbea55e9f62 (diff) | |
download | external_llvm-aaf15825494fce98ac8a54dde36711f9ed5f1418.zip external_llvm-aaf15825494fce98ac8a54dde36711f9ed5f1418.tar.gz external_llvm-aaf15825494fce98ac8a54dde36711f9ed5f1418.tar.bz2 |
Mark llvm.stacksave as only reading memory, this fixes
Regression/Transforms/InstCombine/stacksaverestore.ll
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26715 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | include/llvm/Intrinsics.td | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/Intrinsics.td b/include/llvm/Intrinsics.td index dd716a8..aa48332 100644 --- a/include/llvm/Intrinsics.td +++ b/include/llvm/Intrinsics.td @@ -112,7 +112,7 @@ def int_gcwrite : Intrinsic<[llvm_void_ty, llvm_ptr_ty, llvm_ptrptr_ty], // def int_returnaddress : Intrinsic<[llvm_ptr_ty, llvm_uint_ty], [InstrNoMem]>; def int_frameaddress : Intrinsic<[llvm_ptr_ty, llvm_uint_ty], [InstrNoMem]>; -def int_stacksave : Intrinsic<[llvm_ptr_ty]>; +def int_stacksave : Intrinsic<[llvm_ptr_ty], [IntrReadMem]>; def int_stackrestore : Intrinsic<[llvm_void_ty, llvm_ptr_ty]>; def int_prefetch : Intrinsic<[llvm_void_ty, llvm_ptr_ty, llvm_uint_ty, llvm_uint_ty]>; |