Skip to content

Commit 7693eca

Browse files
committed
order change to minimize diff
1 parent d789b1d commit 7693eca

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

polly/docs/ReleaseNotes.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,3 +18,4 @@ In Polly |version| the following important changes have been incorporated.
1818
* Polly's support for the legacy pass manager has been removed.
1919

2020
* The infrastructure around ScopPasses has been removed.
21+

polly/lib/Support/RegisterPasses.cpp

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Comments
 (0)