diff --git a/llvm/lib/Passes/StandardInstrumentations.cpp b/llvm/lib/Passes/StandardInstrumentations.cpp --- a/llvm/lib/Passes/StandardInstrumentations.cpp +++ b/llvm/lib/Passes/StandardInstrumentations.cpp @@ -33,7 +33,7 @@ // TODO: remove once all required passes are marked as such. static cl::opt - EnableOptnone("enable-npm-optnone", cl::init(false), + EnableOptnone("enable-npm-optnone", cl::init(true), cl::desc("Enable skipping optional passes optnone functions " "under new pass manager"));