[llvm] [AMDGPU] Add scheduling stage to rewrite MFMA from VGPR to AGPR (PR #149367)

Jeffrey Byrnes via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 6 14:10:38 PDT 2025


================
@@ -454,6 +454,21 @@ inline MachineInstrBuilder BuildMI(MachineBasicBlock &BB,
       .setMMRAMetadata(MIMD.getMMRAMetadata());
 }
 
+/// This version of the builder inserts the newly-built instruction after the
+/// given position in the given MachineBasicBlock, and does NOT take a
+/// destination register.
+inline MachineInstrBuilder BuildMIAfter(MachineBasicBlock &BB,
----------------
jrbyrnes wrote:

Being addressed separately https://github.com/llvm/llvm-project/pull/151607

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


More information about the llvm-commits mailing list