[PATCH] D32006: Mark invariant.group.barrier as inaccessiblememonly

Hal Finkel via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun May 7 14:17:54 PDT 2017


hfinkel added inline comments.


================
Comment at: include/llvm/IR/Intrinsics.td:620
 // because it would cause CSE of two barriers with the same argument.
 // Readonly and argmemonly says that barrier only reads its argument and
 // it can be CSE only if memory didn't change between 2 barriers call,
----------------
You'd need to update the comment.


https://reviews.llvm.org/D32006





More information about the llvm-commits mailing list