diff --git a/llvm/lib/Target/PowerPC/PPCTargetMachine.cpp b/llvm/lib/Target/PowerPC/PPCTargetMachine.cpp --- a/llvm/lib/Target/PowerPC/PPCTargetMachine.cpp +++ b/llvm/lib/Target/PowerPC/PPCTargetMachine.cpp @@ -504,7 +504,7 @@ // PPCTLSDynamicCallPass uses LiveIntervals which previously dependent on // LiveVariables. This (unnecessary) dependency has been removed now, // however a stage-2 clang build fails without LiveVariables computed here. - addPass(&LiveVariablesID, false); + addPass(&LiveVariablesID); addPass(createPPCTLSDynamicCallPass()); } if (EnableExtraTOCRegDeps) @@ -531,9 +531,9 @@ addPass(createPPCExpandISELPass()); if (getOptLevel() != CodeGenOpt::None) - addPass(createPPCEarlyReturnPass(), false); + addPass(createPPCEarlyReturnPass()); // Must run branch selection immediately preceding the asm printer. - addPass(createPPCBranchSelectionPass(), false); + addPass(createPPCBranchSelectionPass()); } TargetTransformInfo