Skip to content

Commit 478136d

Browse files
committed
[NFC] [SILOpt] Explicitly specified flag defaults.
In preparation to change the default values, specify explicitly what they are.
1 parent 59ae518 commit 478136d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tools/sil-opt/SILOpt.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -139,11 +139,11 @@ static llvm::cl::opt<bool> EnableOSSAModules(
139139
"form when optimizing."));
140140

141141
static llvm::cl::opt<bool>
142-
EnableCopyPropagation("enable-copy-propagation",
142+
EnableCopyPropagation("enable-copy-propagation", llvm::cl::init(false),
143143
llvm::cl::desc("Enable the copy propagation pass."));
144144

145145
static llvm::cl::opt<bool> DisableCopyPropagation(
146-
"disable-copy-propagation",
146+
"disable-copy-propagation", llvm::cl::init(false),
147147
llvm::cl::desc("Disable the copy propagation pass."));
148148

149149
namespace {

0 commit comments

Comments
 (0)