diff --git a/llvm/lib/CodeGen/TargetPassConfig.cpp b/llvm/lib/CodeGen/TargetPassConfig.cpp --- a/llvm/lib/CodeGen/TargetPassConfig.cpp +++ b/llvm/lib/CodeGen/TargetPassConfig.cpp @@ -1418,7 +1418,7 @@ /// register allocation. No coalescing or scheduling. void TargetPassConfig::addFastRegAlloc() { addPass(&PHIEliminationID); - addPass(&TwoAddressInstructionPassID, false); + addPass(&TwoAddressInstructionPassID); addRegAssignAndRewriteFast(); } @@ -1452,7 +1452,7 @@ if (EarlyLiveIntervals) addPass(&LiveIntervalsID, false); - addPass(&TwoAddressInstructionPassID, false); + addPass(&TwoAddressInstructionPassID); addPass(&RegisterCoalescerID); // The machine scheduler may accidentally create disconnected components