[PATCH] D61042: Make post-link regular LTO pipelines match between new and old PM
Teresa Johnson via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Apr 23 15:06:50 PDT 2019
tejohnson created this revision.
tejohnson added reviewers: chandlerc, mehdi_amini.
Herald added subscribers: dexonsmith, steven_wu, hiraditya, inglorion.
Herald added a project: LLVM.
As discussed in the D61022 <https://reviews.llvm.org/D61022>, the regular LTO post link new PM pipeline
is doing less optimizations than in the old PM. It was simpler to
refactor those passes into another PassBuilder routine, and invoke it
also on the O1 <https://reviews.llvm.org/owners/package/1/> early return path. The alternative is copying a bunch of
code, or guarding a lot more code under a check that the opt level >O1 <https://reviews.llvm.org/owners/package/1/>.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D61042
Files:
llvm/include/llvm/Passes/PassBuilder.h
llvm/lib/Passes/PassBuilder.cpp
llvm/test/Other/new-pm-lto-defaults.ll
llvm/test/tools/gold/X86/opt-level.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D61042.196340.patch
Type: text/x-patch
Size: 4866 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190423/d413ce3c/attachment.bin>
More information about the llvm-commits
mailing list