[PATCH] D57259: [NVPTX] Some nvvm.read.ptx.sreg intrinsics should have IntrInaccessibleMemOnly attribute.

Artem Belevich via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 25 14:25:31 PST 2019


tra created this revision.
tra added reviewers: jlebar, asbirlea.
Herald added subscribers: bixia, sanjoy, jholewinski.

These intrinsics may return different values every time they are called
and should not be CSE'd. IntrInaccessibleMemOnly appears to be the right
attribute to model this behavior.


https://reviews.llvm.org/D57259

Files:
  llvm/include/llvm/IR/IntrinsicsNVVM.td
  llvm/test/CodeGen/NVPTX/intrinsics.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D57259.183622.patch
Type: text/x-patch
Size: 3921 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190125/5c674e4f/attachment.bin>


More information about the llvm-commits mailing list