[llvm] [PeepholeOptimizer] Recognize new move-immediate instructions (PR #72128)

Jay Foad via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 13 07:42:46 PST 2023


jayfoad wrote:

TBH I don't understand why this does not affect other (non AMDGPU) targets. Even for AMDGPU, I compiled a bunch of graphics shaders with -mcpu=gfx1100 and saw no difference from this patch.

Perhaps other targets never create sequences where a move-immediate feeds into another move? Perhaps AMDGPU should not create them either?

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


More information about the llvm-commits mailing list