[PATCH] D14386: [Statepoints] Mark gc.result and gc.relocate as readonly

Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 5 17:18:28 PST 2015


This revision was automatically updated to reflect the committed changes.
Closed by commit rL252259: [Statepoints] Mark gc.result and gc.relocate as readonly (authored by igor.laevsky).

Changed prior to commit:
  http://reviews.llvm.org/D14386?vs=39377&id=39449#toc

Repository:
  rL LLVM

http://reviews.llvm.org/D14386

Files:
  llvm/trunk/include/llvm/IR/Intrinsics.td

Index: llvm/trunk/include/llvm/IR/Intrinsics.td
===================================================================
--- llvm/trunk/include/llvm/IR/Intrinsics.td
+++ llvm/trunk/include/llvm/IR/Intrinsics.td
@@ -551,9 +551,11 @@
                                 llvm_i32_ty, llvm_vararg_ty],
                                 [Throws]>;
 
-def int_experimental_gc_result   : Intrinsic<[llvm_any_ty], [llvm_i32_ty]>;
+def int_experimental_gc_result   : Intrinsic<[llvm_any_ty], [llvm_i32_ty],
+                                             [IntrReadMem]>;
 def int_experimental_gc_relocate : Intrinsic<[llvm_anyptr_ty],
-                                [llvm_i32_ty, llvm_i32_ty, llvm_i32_ty]>;
+                                [llvm_i32_ty, llvm_i32_ty, llvm_i32_ty],
+                                [IntrReadMem]>;
 
 // Deprecated: will be removed in a couple of weeks
 def int_experimental_gc_result_int : Intrinsic<[llvm_anyint_ty], [llvm_i32_ty]>;


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D14386.39449.patch
Type: text/x-patch
Size: 950 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20151106/b8f96201/attachment.bin>


More information about the llvm-commits mailing list