[PATCH] D82922: [NewPM] Add explicit init value to -enable-new-pm
Arthur Eubanks via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jun 30 19:00:21 PDT 2020
This revision was automatically updated to reflect the committed changes.
Closed by commit rG9a5e3a439232: [NewPM] Add explicit init value to -enable-new-pm (authored by aeubanks).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D82922/new/
https://reviews.llvm.org/D82922
Files:
llvm/tools/opt/opt.cpp
Index: llvm/tools/opt/opt.cpp
===================================================================
--- llvm/tools/opt/opt.cpp
+++ llvm/tools/opt/opt.cpp
@@ -71,9 +71,8 @@
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"));
+static cl::opt<bool> EnableNewPassManager(
+ "enable-new-pm", cl::desc("Enable the new pass manager"), cl::init(false));
// 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: D82922.274665.patch
Type: text/x-patch
Size: 696 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200701/8bdf0aaf/attachment.bin>
More information about the llvm-commits
mailing list