diff options
author | Piotr Padlewski <piotr.padlewski@gmail.com> | 2018-05-02 08:22:07 +0000 |
---|---|---|
committer | Piotr Padlewski <piotr.padlewski@gmail.com> | 2018-05-02 08:22:07 +0000 |
commit | f801205e4835598da60fcb4f5721ccd0cc323a32 (patch) | |
tree | 2b10830fabcec96928303162648b9a98e0136348 /lldb/unittests/Process/gdb-remote/GDBRemoteCommunicationClientTest.cpp | |
parent | 1c5a05f32cf0095e9670d30396f24bb58b995cc5 (diff) | |
download | llvm-f801205e4835598da60fcb4f5721ccd0cc323a32.zip llvm-f801205e4835598da60fcb4f5721ccd0cc323a32.tar.gz llvm-f801205e4835598da60fcb4f5721ccd0cc323a32.tar.bz2 |
Mark invariant.group.barrier as inaccessiblememonly
It turned out that readonly argmemonly is not enough.
store 42, %p
%b = barrier(%p)
store 43, %b
the first store is dead, but because barrier was marked as
reading argument memory, it was considered alive. With
inaccessiblememonly it doesn't read the argument, but
it also can't be CSEd.
based on: https://reviews.llvm.org/D32006
llvm-svn: 331338
Diffstat (limited to 'lldb/unittests/Process/gdb-remote/GDBRemoteCommunicationClientTest.cpp')
0 files changed, 0 insertions, 0 deletions