Give JumpThreading+LVI a long-form cl::opt so that it's easier to toggle the default.

llvm-svn: 110384
This commit is contained in:
Owen Anderson 2010-08-05 22:11:31 +00:00
parent 68ee87e057
commit bbeb4e2e58

View File

@ -45,7 +45,10 @@ Threshold("jump-threading-threshold",
// Turn on use of LazyValueInfo.
static cl::opt<bool>
EnableLVI("enable-jump-threading-lvi", cl::ReallyHidden);
EnableLVI("enable-jump-threading-lvi",
cl::desc("Use LVI for jump threading"),
cl::init(false),
cl::ReallyHidden);