Mark the callsite intrinsic such that the opimizers know it's not dead.
authorJim Grosbach <grosbach@apple.com>
Wed, 12 Aug 2009 23:03:43 +0000 (23:03 +0000)
committerJim Grosbach <grosbach@apple.com>
Wed, 12 Aug 2009 23:03:43 +0000 (23:03 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78856 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Intrinsics.td

index 83d28fb8feac795207f202f459b0e65639467d4a..608c958bd9136b8b5e77dc24431332b485c0fcc3 100644 (file)
@@ -309,6 +309,8 @@ let Properties = [IntrNoMem] in {
   def int_eh_sjlj_setjmp  : Intrinsic<[llvm_i32_ty],  [llvm_ptr_ty]>;
   def int_eh_sjlj_longjmp : Intrinsic<[llvm_void_ty], [llvm_ptr_ty]>;
   def int_eh_sjlj_lsda    : Intrinsic<[llvm_ptr_ty]>;
+}
+let Properties = [IntrWriteMem] in {
   def int_eh_sjlj_callsite: Intrinsic<[llvm_void_ty], [llvm_i32_ty]>;
 }