[llvm] [AMDGPU] Fix SIFoldOperands miscompiling values that leave a divergent loop (PR #203256)

Jay Foad via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 11 08:23:19 PDT 2026


jayfoad wrote:

Interesting. This is the temporal divergence case. I wonder why we have not found this earlier.

I wonder if would make more sense to implement the fix based on MachineUniformityAnalysis instead of LoopInfo.

https://github.com/llvm/llvm-project/pull/203256


More information about the llvm-commits mailing list