[PATCH] D26114: [AMDGPU] Allow hoisting of comparisons out of a loop and eliminate condition copies

Nicolai Hähnle via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 18 08:43:16 PST 2016


nhaehnle added a comment.

This seems correct to me.

It could be quite beneficial to have a general pass running quite late that optimizes away s[i:i+1] & EXEC instructions. This would allow lowering PHIs of i1 as straightforward and-with-exec in the predecessor blocks + bitwise-or in the block containing the PHI, and it would help with some of the WholeQuadMode changes that I still need to get around to.


Repository:
  rL LLVM

https://reviews.llvm.org/D26114





More information about the llvm-commits mailing list