forked from OSchip/llvm-project
[PHIElimination] Enable machine verification after this pass
Differential Revision: https://reviews.llvm.org/D111006
This commit is contained in:
parent
3c9dfba189
commit
3ff0a5747d
|
@ -1417,7 +1417,7 @@ bool TargetPassConfig::usingDefaultRegAlloc() const {
|
|||
/// Add the minimum set of target-independent passes that are required for
|
||||
/// register allocation. No coalescing or scheduling.
|
||||
void TargetPassConfig::addFastRegAlloc() {
|
||||
addPass(&PHIEliminationID, false);
|
||||
addPass(&PHIEliminationID);
|
||||
addPass(&TwoAddressInstructionPassID, false);
|
||||
|
||||
addRegAssignAndRewriteFast();
|
||||
|
@ -1446,7 +1446,7 @@ void TargetPassConfig::addOptimizedRegAlloc() {
|
|||
|
||||
// Edge splitting is smarter with machine loop info.
|
||||
addPass(&MachineLoopInfoID);
|
||||
addPass(&PHIEliminationID, false);
|
||||
addPass(&PHIEliminationID);
|
||||
|
||||
// Eventually, we want to run LiveIntervals before PHI elimination.
|
||||
if (EarlyLiveIntervals)
|
||||
|
|
Loading…
Reference in New Issue