commit | f35b08db501557b1d41628291811c77c2bc163fb | [log] [tgz] |
---|---|---|
author | Owen Anderson <resistor@mac.com> | Thu Aug 05 22:11:31 2010 +0000 |
committer | Owen Anderson <resistor@mac.com> | Thu Aug 05 22:11:31 2010 +0000 |
tree | 0049d54150878517016545ee2893054299599a09 | |
parent | db78d73d969d84730816c574c30dc166450ef974 [diff] |
Give JumpThreading+LVI a long-form cl::opt so that it's easier to toggle the default. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@110384 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Transforms/Scalar/JumpThreading.cpp b/lib/Transforms/Scalar/JumpThreading.cpp index 5dabcf0..c826d66 100644 --- a/lib/Transforms/Scalar/JumpThreading.cpp +++ b/lib/Transforms/Scalar/JumpThreading.cpp
@@ -45,7 +45,10 @@ // 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);