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

Piotr Padlewski via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 25 14:34:16 PDT 2017


Prazek added a comment.

Yes, you are right. I missed that in the tests. I will change it to have only inaccesiblememonly. It would be good to figure out a way to CSE 2 barriers if there is no write to memory between, because I don't see if it
is possible with current set of attributes. Fortunatelly it is not that important, we should not miss any important optimizations without that.


Repository:
  rL LLVM

https://reviews.llvm.org/D32006





More information about the llvm-commits mailing list