diff options
author | Justin Lebar <jlebar@google.com> | 2016-03-01 19:44:22 +0000 |
---|---|---|
committer | Justin Lebar <jlebar@google.com> | 2016-03-01 19:44:22 +0000 |
commit | 2daaa1ceca4f4bce9893e1bd36860148dc04788c (patch) | |
tree | fe8f57c8622ce8edf7f376e21222109a0f764a87 /clang/lib/CodeGen/CGException.cpp | |
parent | 536c8b7446e6350a65c70f1400b971d1dcbac81c (diff) | |
download | bcm5719-llvm-2daaa1ceca4f4bce9893e1bd36860148dc04788c.tar.gz bcm5719-llvm-2daaa1ceca4f4bce9893e1bd36860148dc04788c.zip |
[NVPTX] Annotate param loads/stores as mayLoad/mayStore.
Summary:
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.
Reviewers: jholewinski
Subscribers: jholewinski, llvm-commits
Differential Revision: http://reviews.llvm.org/D17471
llvm-svn: 262381
Diffstat (limited to 'clang/lib/CodeGen/CGException.cpp')
0 files changed, 0 insertions, 0 deletions