[llvm] r252259 - [Statepoints] Mark gc.result and gc.relocate as readonly
Igor Laevsky via llvm-commits
llvm-commits at lists.llvm.org
Thu Nov 5 17:15:59 PST 2015
Author: igor.laevsky
Date: Thu Nov 5 19:15:58 2015
New Revision: 252259
URL: http://llvm.org/viewvc/llvm-project?rev=252259&view=rev
Log:
[Statepoints] Mark gc.result and gc.relocate as readonly
Differential Revision: http://reviews.llvm.org/D14386
Modified:
llvm/trunk/include/llvm/IR/Intrinsics.td
Modified: llvm/trunk/include/llvm/IR/Intrinsics.td
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/IR/Intrinsics.td?rev=252259&r1=252258&r2=252259&view=diff
==============================================================================
--- llvm/trunk/include/llvm/IR/Intrinsics.td (original)
+++ llvm/trunk/include/llvm/IR/Intrinsics.td Thu Nov 5 19:15:58 2015
@@ -551,9 +551,11 @@ def int_experimental_gc_statepoint : Int
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]>;
More information about the llvm-commits
mailing list