Mark llvm.stacksave as only reading memory, this fixes

Regression/Transforms/InstCombine/stacksaverestore.ll

llvm-svn: 26715
This commit is contained in:
Chris Lattner 2006-03-12 00:04:28 +00:00
parent 356183d91e
commit 4b610e1a42
1 changed files with 1 additions and 1 deletions

View File

@ -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]>;