[PATCH] D96780: [NPM][LTO] Update buildLTODefaultPipeline to be more in-line with the old pass manager

Dave Green via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 16 06:22:34 PST 2021


dmgreen created this revision.
dmgreen added reviewers: fhahn, aeubanks, asbirlea, ychen.
Herald added subscribers: steven_wu, hiraditya, inglorion.
dmgreen requested review of this revision.
Herald added a project: LLVM.

The NPM LTO pipeline has a lot of fixme's and missing passes, causing a lot of regressions after the switch in c70737b <https://reviews.llvm.org/rGc70737ba1dea947350879a4f53a4a5513d6c9252>. Notably unrolling and vectorization were both disabled, but many other passes are missing compared to the old pass manager. This attempt to enable the most obvious missing passes like the unroller, vectorization and other loop passes, fixing the existing FIXME comments.


https://reviews.llvm.org/D96780

Files:
  llvm/lib/Passes/PassBuilder.cpp
  llvm/test/Other/new-pm-lto-defaults.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D96780.323979.patch
Type: text/x-patch
Size: 14057 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210216/6b16cf1c/attachment.bin>


More information about the llvm-commits mailing list