[MachineLoopInfo] Enable machine verification after this pass

Enabling this does not show any problems in check-llvm in an
LLVM_ENABLE_EXPENSIVE_CHECKS build.

Differential Revision: https://reviews.llvm.org/D110703
This commit is contained in:
Jay Foad 2021-09-29 13:18:01 +01:00
parent 04787239c9
commit 31c92d515d
1 changed files with 1 additions and 1 deletions

View File

@ -1445,7 +1445,7 @@ void TargetPassConfig::addOptimizedRegAlloc() {
addPass(&LiveVariablesID);
// Edge splitting is smarter with machine loop info.
addPass(&MachineLoopInfoID, false);
addPass(&MachineLoopInfoID);
addPass(&PHIEliminationID, false);
// Eventually, we want to run LiveIntervals before PHI elimination.