[llvm] unpack packed instructions overlapped by MFMAs post-RA scheduling (PR #157968)

Jan Patrick Lehr via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 11 07:14:35 PDT 2025


================
@@ -481,6 +761,11 @@ bool SIPreEmitPeephole::run(MachineFunction &MF) {
       else
         SetGPRMI = &MI;
     }
+    if (!InstrsToUnpack.empty()) {
+      for (MachineInstr *MI : InstrsToUnpack) {
+        processF32Unpacking(*MI);
+      }
+    }
----------------
jplehr wrote:

```suggestion
    if (!InstrsToUnpack.empty())
      for (MachineInstr *MI : InstrsToUnpack)
        processF32Unpacking(*MI);
```

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


More information about the llvm-commits mailing list