Skip to content

Commit 0ec4619

Browse files
committed
Remove deprecated pass
1 parent d2c7373 commit 0ec4619

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/newpm.jl

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -437,7 +437,9 @@ end
437437
@module_pass "print<inline-advisor>" InlineAdvisorAnalysisPrinterPass
438438
@module_pass "inliner-wrapper-no-mandatory-first" ModuleInlinerWrapperNoMandatoryFirstPass
439439
@module_pass "insert-gcov-profiling" GCOVProfilerPass
440-
@module_pass "instrorderfile" InstrOrderFilePass
440+
@static if version() < v"21"
441+
@module_pass "instrorderfile" InstrOrderFilePass
442+
end
441443
@module_pass "instrprof" InstrProfiling
442444
@module_pass "invalidate<all>" InvalidateAllAnalysesPass
443445
@module_pass "ipsccp" IPSCCPPass

0 commit comments

Comments
 (0)