[llvm] [MCP] Avoid Folding Spill Chains Over Across Source Clobbers (PR #207169)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 6 11:55:59 PDT 2026


================
@@ -1376,6 +1379,27 @@ void MachineCopyPropagation::eliminateSpillageCopies(MachineBasicBlock &MBB) {
           }
         };
 
+        auto HasUnexpectedCopySourceDef = [&](const MachineInstr *Copy,
----------------
arsenm wrote:

Can you do a deeper refactoring? We now have lambdas nested inside other lambdas 

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


More information about the llvm-commits mailing list