[PATCH] D116149: [IR] Add memory attributes for init.trampoline

Nikita Popov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Dec 23 00:02:36 PST 2021


This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rG510d0e493365: [IR] Add memory attributes for init.trampoline (authored by nikic).

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D116149/new/

https://reviews.llvm.org/D116149

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


Index: llvm/include/llvm/IR/Intrinsics.td
===================================================================
--- llvm/include/llvm/IR/Intrinsics.td
+++ llvm/include/llvm/IR/Intrinsics.td
@@ -1019,7 +1019,10 @@
 //
 def int_init_trampoline : Intrinsic<[],
                                     [llvm_ptr_ty, llvm_ptr_ty, llvm_ptr_ty],
-                                    [IntrArgMemOnly, NoCapture<ArgIndex<0>>]>,
+                                    [IntrArgMemOnly, NoCapture<ArgIndex<0>>,
+                                     WriteOnly<ArgIndex<0>>,
+                                     ReadNone<ArgIndex<1>>,
+                                     ReadNone<ArgIndex<2>>]>,
                                     GCCBuiltin<"__builtin_init_trampoline">;
 
 def int_adjust_trampoline : Intrinsic<[llvm_ptr_ty], [llvm_ptr_ty],


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D116149.395988.patch
Type: text/x-patch
Size: 827 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211223/f23c6f75/attachment.bin>


More information about the llvm-commits mailing list