[PATCH] D133840: AMDGPU: Add a pass to rewrite certain undef in PHI

Ruiling, Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Sep 25 18:56:01 PDT 2022


ruiling added a comment.

Some offline discussion with @arsenm, he is fine with an IR pass to do this if this helps the optimization. @arsenm also said that maybe we can change the behavior of divergence analysis to report this as divergent, while I think we can keep this behavior now and re-visit the problem later if we meet with new issue on this. So, I will push this change to move forward.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D133840/new/

https://reviews.llvm.org/D133840



More information about the llvm-commits mailing list