[PATCH] D158081: [IR] Add writable attribute

Florian Hahn via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 25 02:52:47 PDT 2023


fhahn added inline comments.


================
Comment at: llvm/docs/LangRef.rst:1536
+``writable``
+    This attribute is only meaningful in conjunction with ``dereferenceable(N)``
+    or another attribute that implies the first ``N`` bytes of the pointer
----------------
Can/should this be enforced by the verifier? If yes, might be good to strengthen the wording from `meaningful` to something like ` must be used in conjunction`


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

https://reviews.llvm.org/D158081



More information about the llvm-commits mailing list