[PATCH] D17471: [NVPTX] Annotate param loads/stores as mayLoad/mayStore.
Justin Lebar via llvm-commits
llvm-commits at lists.llvm.org
Fri Feb 19 18:55:38 PST 2016
jlebar created this revision.
jlebar added a reviewer: jholewinski.
jlebar added a subscriber: llvm-commits.
Herald added a subscriber: jholewinski.
Tablegen was unable to determine that param loads/stores were actually
reading or writing from memory. I think this isn't a problem in
practice for param stores, because those occur in a block right before
we make our call. But param loads don't have to at the very beginning
of a function, so should be annotated as mayLoad so we don't incorrectly
optimize them.
http://reviews.llvm.org/D17471
Files:
lib/Target/NVPTX/NVPTXInstrInfo.td
lib/Target/NVPTX/NVPTXIntrinsics.td
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D17471.48567.patch
Type: text/x-patch
Size: 7230 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160220/fc75dab1/attachment.bin>
More information about the llvm-commits
mailing list