This is an archive of the discontinued LLVM Phabricator instance.

[NVPTX] Some nvvm.read.ptx.sreg intrinsics should have IntrInaccessibleMemOnly attribute.
ClosedPublic

Authored by tra on Jan 25 2019, 2:25 PM.

Details

Summary

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.

Diff Detail

Repository
rL LLVM

Event Timeline

tra created this revision.Jan 25 2019, 2:25 PM
This revision is now accepted and ready to land.Jan 25 2019, 2:35 PM
This revision was automatically updated to reflect the committed changes.
tra added a comment.Jan 28 2019, 11:11 AM

That was probably due to r352254 /D56931. Seems to be fixed now.