File tree 2 files changed +2
-4
lines changed
2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -574,8 +574,7 @@ void RISCVPassConfig::addPostRegAlloc() {
574
574
addPass (createRISCVRedundantCopyEliminationPass ());
575
575
}
576
576
577
- void RISCVTargetMachine::registerPassBuilderCallbacks (
578
- PassBuilder &PB, bool PopulateClassToPassNames) {
577
+ void RISCVTargetMachine::registerPassBuilderCallbacks (PassBuilder &PB) {
579
578
PB.registerLateLoopOptimizationsEPCallback ([=](LoopPassManager &LPM,
580
579
OptimizationLevel Level) {
581
580
LPM.addPass (LoopIdiomVectorizePass (LoopIdiomVectorizeStyle::Predicated));
Original file line number Diff line number Diff line change @@ -59,8 +59,7 @@ class RISCVTargetMachine : public LLVMTargetMachine {
59
59
PerFunctionMIParsingState &PFS,
60
60
SMDiagnostic &Error,
61
61
SMRange &SourceRange) const override ;
62
- void registerPassBuilderCallbacks (PassBuilder &PB,
63
- bool PopulateClassToPassNames) override ;
62
+ void registerPassBuilderCallbacks (PassBuilder &PB) override ;
64
63
};
65
64
} // namespace llvm
66
65
You can’t perform that action at this time.
0 commit comments