[llvm] [RISCV][VLOPT] Compute demanded VLs up front (PR #124530)
Luke Lau via llvm-commits
llvm-commits at lists.llvm.org
Tue Jan 28 09:09:12 PST 2025
================
@@ -1371,18 +1369,8 @@ bool RISCVVLOptimizer::runOnMachineFunction(MachineFunction &MF) {
if (!tryReduceVL(MI))
continue;
MadeChange = true;
- PushOperands(MI, /*IgnoreSameBlock*/ true);
}
}
- while (!Worklist.empty()) {
- assert(MadeChange);
- MachineInstr &MI = *Worklist.pop_back_val();
- assert(isCandidate(MI));
----------------
lukel97 wrote:
This was part of the changes stacked from #124734, it should be back after e0781aa8dc3029613f8771837ebde897cc6fd180
https://github.com/llvm/llvm-project/pull/124530
More information about the llvm-commits
mailing list