projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
db78d73
)
Give JumpThreading+LVI a long-form cl::opt so that it's easier to toggle the default.
author
Owen Anderson
<resistor@mac.com>
Thu, 5 Aug 2010 22:11:31 +0000
(22:11 +0000)
committer
Owen Anderson
<resistor@mac.com>
Thu, 5 Aug 2010 22:11:31 +0000
(22:11 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@110384
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Transforms/Scalar/JumpThreading.cpp
patch
|
blob
|
history
diff --git
a/lib/Transforms/Scalar/JumpThreading.cpp
b/lib/Transforms/Scalar/JumpThreading.cpp
index 5dabcf0551f25f51287bb6ccf02f3e852f4e273b..c826d66813d71b4a89173f44597b1cfe592525ae 100644
(file)
--- 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);