[PATCH] D95254: [NewPM][opt] Make -enable-new-pm default to LLVM_ENABLE_NEW_PASS_MANAGER
Arthur Eubanks via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sat Jan 23 12:48:45 PST 2021
This revision was automatically updated to reflect the committed changes.
Closed by commit rGc37dd3b6d553: [NewPM][opt] Make -enable-new-pm default to LLVM_ENABLE_NEW_PASS_MANAGER (authored by aeubanks).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D95254/new/
https://reviews.llvm.org/D95254
Files:
llvm/tools/opt/opt.cpp
Index: llvm/tools/opt/opt.cpp
===================================================================
--- llvm/tools/opt/opt.cpp
+++ llvm/tools/opt/opt.cpp
@@ -70,8 +70,10 @@
static cl::list<const PassInfo*, bool, PassNameParser>
PassList(cl::desc("Optimizations available:"));
-static cl::opt<bool> EnableNewPassManager(
- "enable-new-pm", cl::desc("Enable the new pass manager"), cl::init(false));
+static cl::opt<bool>
+ EnableNewPassManager("enable-new-pm",
+ cl::desc("Enable the new pass manager"),
+ cl::init(LLVM_ENABLE_NEW_PASS_MANAGER));
// This flag specifies a textual description of the optimization pass pipeline
// to run over the module. This flag switches opt to use the new pass manager
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D95254.318785.patch
Type: text/x-patch
Size: 763 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210123/567a7701/attachment.bin>
More information about the llvm-commits
mailing list