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

Jay Foad via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Tue Jun 24 03:07:06 PDT 2025


jayfoad wrote:

I don't understand the high level motivation here. "Normal" combining/simplification order is to visit the operands of an instruction before you visit the instruction itself. That way the "visit" function can assume that the operands have already been simplified. GlobalISel combines already work this way, and a lot of effort has been put into trying to make the SelectionDAG combiner work this way too.

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


More information about the llvm-branch-commits mailing list