File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -574,8 +574,7 @@ void RISCVPassConfig::addPostRegAlloc() {
574574 addPass (createRISCVRedundantCopyEliminationPass ());
575575}
576576
577- void RISCVTargetMachine::registerPassBuilderCallbacks (
578- PassBuilder &PB, bool PopulateClassToPassNames) {
577+ void RISCVTargetMachine::registerPassBuilderCallbacks (PassBuilder &PB) {
579578 PB.registerLateLoopOptimizationsEPCallback ([=](LoopPassManager &LPM,
580579 OptimizationLevel Level) {
581580 LPM.addPass (LoopIdiomVectorizePass (LoopIdiomVectorizeStyle::Predicated));
Original file line number Diff line number Diff line change @@ -59,8 +59,7 @@ class RISCVTargetMachine : public LLVMTargetMachine {
5959 PerFunctionMIParsingState &PFS,
6060 SMDiagnostic &Error,
6161 SMRange &SourceRange) const override ;
62- void registerPassBuilderCallbacks (PassBuilder &PB,
63- bool PopulateClassToPassNames) override ;
62+ void registerPassBuilderCallbacks (PassBuilder &PB) override ;
6463};
6564} // namespace llvm
6665
You can’t perform that action at this time.
0 commit comments