diff --git a/llvm/lib/Transforms/IPO/PassManagerBuilder.cpp b/llvm/lib/Transforms/IPO/PassManagerBuilder.cpp --- a/llvm/lib/Transforms/IPO/PassManagerBuilder.cpp +++ b/llvm/lib/Transforms/IPO/PassManagerBuilder.cpp @@ -108,7 +108,7 @@ cl::desc("Enable the experimental Loop Versioning LICM pass")); static cl::opt - DisablePreInliner("disable-preinline", cl::init(false), cl::Hidden, + DisablePreInliner("disable-preinline", cl::init(false), cl::ZeroOrMore, cl::desc("Disable pre-instrumentation inliner")); static cl::opt PreInlineThreshold( @@ -117,7 +117,7 @@ "(default = 75)")); static cl::opt EnableGVNHoist( - "enable-gvn-hoist", cl::init(false), cl::Hidden, + "enable-gvn-hoist", cl::init(false), cl::ZeroOrMore, cl::desc("Enable the GVN hoisting pass (default = off)")); static cl::opt @@ -131,7 +131,7 @@ "cleanup passes integrated into the loop pass manager pipeline.")); static cl::opt EnableGVNSink( - "enable-gvn-sink", cl::init(false), cl::Hidden, + "enable-gvn-sink", cl::init(false), cl::ZeroOrMore, cl::desc("Enable the GVN sinking pass (default = off)")); // This option is used in simplifying testing SampleFDO optimizations for