[llvm] [MachineCSE] Enhance MachineCSE simple PRE to find common subexpressi… (PR #129860)
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Thu Mar 6 03:51:55 PST 2025
================
@@ -887,6 +887,23 @@ bool MachineCSEImpl::ProcessBlockPRE(MachineDominatorTree *DT,
NewMI.setDebugLoc(EmptyDL);
NewMI.getOperand(0).setReg(NewReg);
+ for (MachineOperand &MO :
----------------
arsenm wrote:
Needing to do a user scan here feels wrong
https://github.com/llvm/llvm-project/pull/129860
More information about the llvm-commits
mailing list