[PATCH] D15499: Add InaccessibleMemOnly and inaccessibleMemOrArgMemOnly attributes

Hal Finkel via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 16 04:55:24 PST 2015


hfinkel accepted this revision.
hfinkel added a comment.

We should say module instead of program/IR, but otherwise LGTM.


================
Comment at: docs/LangRef.rst:1248
@@ +1247,3 @@
+    This attribute indicates that the function may only access memory that
+    is not accessible by the program/IR being compiled. This is a weaker form
+    of ``readnone``.
----------------
program/IR -> module

================
Comment at: docs/LangRef.rst:1252
@@ +1251,3 @@
+    This attribute indicates that the function may only access memory that is
+    either not accessible by the program/IR being compiled, or is pointed to
+    by its pointer arguments. This is a weaker form of  ``argmemonly``
----------------
program/IR -> module


Repository:
  rL LLVM

http://reviews.llvm.org/D15499





More information about the llvm-commits mailing list