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

Arthur Eubanks via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Dec 9 17:13:56 PST 2020


aeubanks added a comment.

In D92915#2444287 <https://reviews.llvm.org/D92915#2444287>, @thakis wrote:

> Seems to break tests: http://45.33.8.238/linux/34907/step_7.txt

that test fails when the NPM is turned on and lit isn't aware of it :)



================
Comment at: clang/include/clang/Driver/Options.td:1354-1356
+defm legacy_pass_manager : BooleanMarshalledFFlag<"legacy-pass-manager", "CodeGenOpts.LegacyPassManager",
+  "static_cast<unsigned>(LLVM_ENABLE_NEW_PASS_MANAGER)", "Use the legacy pass manager in LLVM",
+  "Use the new pass manager in LLVM">, Group<f_clang_Group>, Flags<[CC1Option]>;
----------------
this turns on the new pass manager for clang


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D92915/new/

https://reviews.llvm.org/D92915



More information about the cfe-commits mailing list