[NewPM] Add explicit init value to -enable-new-pm

So it's easier to test with it on by default.

Reviewed By: ychen

Differential Revision: https://reviews.llvm.org/D82922
This commit is contained in:
Arthur Eubanks 2020-06-30 18:38:59 -07:00
parent 25e66a23af
commit 5addf7faf9

View File

@ -71,9 +71,8 @@ static codegen::RegisterCodeGenFlags CFG;
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