[llvm] [NewPM] Port MachineCombiner to the new pass manager (PR #217279)
Aiden Grossman via llvm-commits
llvm-commits at lists.llvm.org
Wed Aug 19 06:11:52 PDT 2026
================
@@ -639,16 +652,17 @@ bool MachineCombiner::combineInstructions(MachineBasicBlock *MBB) {
}
if (ML && TII->isThroughputPattern(P)) {
- LLVM_DEBUG(dbgs() << "\t Replacing due to throughput pattern in loop\n");
+ LLVM_DEBUG(
+ dbgs() << "\t Replacing due to throughput pattern in loop\n");
insertDeleteInstructions(MBB, MI, InsInstrs, DelInstrs, TraceEnsemble,
RegUnits, TII, P, IncrementalUpdate);
// Eagerly stop after the first pattern fires.
Changed = true;
break;
} else if (OptForSize && InsInstrs.size() < DelInstrs.size()) {
LLVM_DEBUG(dbgs() << "\t Replacing due to OptForSize ("
- << InsInstrs.size() << " < "
- << DelInstrs.size() << ")\n");
+ << InsInstrs.size() << " < " << DelInstrs.size()
----------------
boomanaiden154 wrote:
Unrelated formatting hunk?
https://github.com/llvm/llvm-project/pull/217279
More information about the llvm-commits
mailing list