[PATCH] D92915: [Driver] Add -f[no-]new-pass-manager to supersede -f[no-]experimental-new-pass-manager

Fangrui Song via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Dec 8 22:49:20 PST 2020


MaskRay created this revision.
MaskRay added reviewers: aeubanks, reames, rsmith.
Herald added subscribers: dang, steven_wu, hiraditya.
MaskRay requested review of this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.

The new PM is considered stable and many downstream groups have adopted it (some
have adopted it for more than two years). Add -fnew-pass-manager to reflect the
fact that it is no longer experimental.

In the future, when the legacy PM eventually goes away,
-fno-experimental-new-pass-manager and -fno-new-pass-manager will be removed.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D92915

Files:
  clang/include/clang/Driver/Options.td
  clang/lib/Driver/ToolChains/Clang.cpp
  clang/lib/Driver/ToolChains/CommonArgs.cpp
  clang/test/Driver/clang_f_opts.c
  clang/test/Driver/fnew-pass-manager.c
  clang/test/Driver/gold-lto-new-pass-man.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D92915.310423.patch
Type: text/x-patch
Size: 6189 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20201209/26d0e06c/attachment.bin>


More information about the cfe-commits mailing list