@@ -651,18 +651,18 @@ void registerPollyPasses(PassBuilder &PB) {
651651 ExitOnError Err (" Unable to parse Polly module pass: " );
652652 return Err (parseFunctionPipeline (Name, FPM, PIC, Pipeline));
653653 });
654- PB.registerPipelineParsingCallback (
655- [PIC](StringRef Name, ModulePassManager &MPM,
656- ArrayRef<PassBuilder::PipelineElement> Pipeline) -> bool {
657- ExitOnError Err (" Unable to parse Polly module pass: " );
658- return Err (parseModulePipeline (Name, MPM, PIC, Pipeline));
659- });
660654 PB.registerPipelineParsingCallback (
661655 [PIC](StringRef Name, CGSCCPassManager &CGPM,
662656 ArrayRef<PassBuilder::PipelineElement> Pipeline) -> bool {
663657 ExitOnError Err (" Unable to parse Polly call graph pass: " );
664658 return Err (parseCGPipeline (Name, CGPM, PIC, Pipeline));
665659 });
660+ PB.registerPipelineParsingCallback (
661+ [PIC](StringRef Name, ModulePassManager &MPM,
662+ ArrayRef<PassBuilder::PipelineElement> Pipeline) -> bool {
663+ ExitOnError Err (" Unable to parse Polly module pass: " );
664+ return Err (parseModulePipeline (Name, MPM, PIC, Pipeline));
665+ });
666666
667667 switch (PassPosition) {
668668 case POSITION_EARLY:
0 commit comments