[PATCH] D146823: [GVN] Avoid replacing uniforms with non-uniforms in propagateEquality

Sameer Sahasrabuddhe via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 12 01:59:03 PDT 2023


sameerds added a comment.

In D146823#4253084 <https://reviews.llvm.org/D146823#4253084>, @arsenm wrote:

> Could another pass undo this instead?

I assume you mean "undo" in a good way? That is, instead of depending on uniformity here, have another pass that replaces divergent values with uniform values, specific to targets that have divergence? Would that be like a "uniformity aware" GVN in MIR?


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

https://reviews.llvm.org/D146823



More information about the llvm-commits mailing list