diff options
| author | Owen Anderson <resistor@mac.com> | 2010-08-05 22:11:31 +0000 |
|---|---|---|
| committer | Owen Anderson <resistor@mac.com> | 2010-08-05 22:11:31 +0000 |
| commit | ebdfd75224928eb511cfec068cc357f8d33b68a8 (patch) | |
| tree | 0049d54150878517016545ee2893054299599a09 /lib/Transforms/Scalar/JumpThreading.cpp | |
| parent | d02cdf16f74027ebd71f0c598447e6cec4a0a34a (diff) | |
| download | external_llvm-ebdfd75224928eb511cfec068cc357f8d33b68a8.zip external_llvm-ebdfd75224928eb511cfec068cc357f8d33b68a8.tar.gz external_llvm-ebdfd75224928eb511cfec068cc357f8d33b68a8.tar.bz2 | |
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
Diffstat (limited to 'lib/Transforms/Scalar/JumpThreading.cpp')
| -rw-r--r-- | lib/Transforms/Scalar/JumpThreading.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
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 @@ 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); |
