[llvm] Move SI Lower Control Flow Up (PR #159557)

Patrick Simmons via llvm-commits llvm-commits at lists.llvm.org
Fri Dec 12 09:41:58 PST 2025


================
@@ -839,6 +850,12 @@ bool SILowerControlFlow::run(MachineFunction &MF) {
   LoweredIf.clear();
   KillBlocks.clear();
 
+  if (Changed)
+    for (MachineBasicBlock &MBB : MF)
+      for (MachineInstr &MI : MBB)
+        if (MI.isBundled())
+          MI.unbundleFromSucc();
----------------
linuxrocks123 wrote:

@arsenm I think you can because someone told me they are otherwise unused at this level.

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


More information about the llvm-commits mailing list