[llvm-branch-commits] [llvm] [AMDGPU] Use reverse iteration in CodeGenPrepare (PR #145484)

Matt Arsenault via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Tue Jun 24 04:15:15 PDT 2025


arsenm wrote:

This is not a simplifying pass, it is making the IR more complicated. We have to do hacks like this to prevent later more profitable combines from needing to parse out expanded IR: https://github.com/llvm/llvm-project/blob/fa5d7c926f5f571397eb1981649198136f1d6a92/llvm/lib/Target/AMDGPU/AMDGPUCodeGenPrepare.cpp#L2332



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


More information about the llvm-branch-commits mailing list