[PATCH] D11399: invariant.group and invariant.group.barrier docs

Richard Smith via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 14 17:23:55 PDT 2015


rsmith accepted this revision.
rsmith added a comment.
This revision is now accepted and ready to land.

LGTM, I think you've addressed everyone's feedback.


================
Comment at: docs/LangRef.rst:4427
@@ +4426,3 @@
+
+The ``invariant.group`` metadata may be attached to ``load``/``store`` instruction.
+The existence of the ``invariant.group`` metadata on the instruction tells 
----------------
instruction -> instructions

================
Comment at: docs/LangRef.rst:4430
@@ +4429,3 @@
+the optimizer that every ``load`` and ``store`` to the same pointer operand 
+within the same invariant group, can be assumed to load or store the same  
+value (but see the ``llvm.invariant.group.barrier`` intrinsic which affects 
----------------
Remove the comma here.


http://reviews.llvm.org/D11399





More information about the llvm-commits mailing list