Skip to content

Commit 0f14f43

Browse files
committed
Fix performance patch no longer applying due to upstream change
Change in question: #126168
1 parent e82398d commit 0f14f43

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: patches/llvm-project-perf/0001-LTOpasses-add-loop-unroll.patch

+2-2
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ index 1184123c7710..6dc45d85927a 100644
3131
void PassBuilder::invokePeepholeEPCallbacks(FunctionPassManager &FPM,
3232
OptimizationLevel Level) {
3333
for (auto &C : PeepholeEPCallbacks)
34-
@@ -1940,6 +1944,18 @@ PassBuilder::buildLTODefaultPipeline(OptimizationLevel Level,
35-
MPM.addPass(createModuleToPostOrderCGSCCPassAdaptor(ArgumentPromotionPass()));
34+
@@ -2018,6 +2022,18 @@ PassBuilder::buildLTODefaultPipeline(OptimizationLevel Level,
35+
MPM.addPass(createModuleToPostOrderCGSCCPassAdaptor(std::move(CGPM)));
3636

3737
FunctionPassManager FPM;
3838
+

0 commit comments

Comments
 (0)