summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms
diff options
context:
space:
mode:
authorOwen Anderson <resistor@mac.com>2010-08-05 22:11:31 +0000
committerOwen Anderson <resistor@mac.com>2010-08-05 22:11:31 +0000
commit4674dd6cf5c17419f2a698d5b92a52e44e9d79a2 (patch)
treecb4741c96ea6320905038ef611cd61006bed43c7 /llvm/lib/Transforms
parentc3a1413ea1a77cf2b2c31ee44303c68b7de2e833 (diff)
downloadbcm5719-llvm-4674dd6cf5c17419f2a698d5b92a52e44e9d79a2.tar.gz
bcm5719-llvm-4674dd6cf5c17419f2a698d5b92a52e44e9d79a2.zip
Give JumpThreading+LVI a long-form cl::opt so that it's easier to toggle the default.
llvm-svn: 110384
Diffstat (limited to 'llvm/lib/Transforms')
-rw-r--r--llvm/lib/Transforms/Scalar/JumpThreading.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/Scalar/JumpThreading.cpp b/llvm/lib/Transforms/Scalar/JumpThreading.cpp
index 5dabcf0551f..c826d66813d 100644
--- a/llvm/lib/Transforms/Scalar/JumpThreading.cpp
+++ b/llvm/lib/Transforms/Scalar/JumpThreading.cpp
@@ -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);
OpenPOWER on IntegriCloud