[PATCH] D32006: Mark invariant.group.barrier as inaccessiblememonly

Piotr Padlewski via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue May 1 13:03:06 PDT 2018


Prazek added a comment.

As I don't see if writeonly could help us in any way, and I am worried that in case:

%a = launder(%p)
%b = launder(%p)

%a could potentially be optimized away, even if it would have load of %a in beetween (because of inaccessiblememonly), so I will leave it like this for now.


Repository:
  rL LLVM

https://reviews.llvm.org/D32006





More information about the llvm-commits mailing list