[llvm] [AMDGPU] Post-RA Peephole for latency-hiding and hazard-avoidance bet… (PR #191319)

Zeng Wu via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 9 16:07:25 PDT 2026


https://github.com/zwu-2025 created https://github.com/llvm/llvm-project/pull/191319

Post-RA Peephole for latency-hiding and hazard-avoidance between buffer_load and mfma

In the pass of pre-emit-peephole, change the patterns:
- s_mov_b32 m0 --> s_nop 0 --> buffer_load --> mfma
- s_mov_b32 m0 --> buffer_load --> mfma

into  mfma --> buffer_load 
by swap buffer_load and mfma and remove s_nop if valid.


The server is unavailable at this time. Please wait a few minutes before you try again.


More information about the llvm-commits mailing list