aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--llvm/lib/CodeGen/TargetPassConfig.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/TargetPassConfig.cpp b/llvm/lib/CodeGen/TargetPassConfig.cpp
index aacba85..3edbc2b 100644
--- a/llvm/lib/CodeGen/TargetPassConfig.cpp
+++ b/llvm/lib/CodeGen/TargetPassConfig.cpp
@@ -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)