projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4e68c7c
)
JumpThreading keeps LazyValueInfo up to date, so we don't need to rerun it
author
Owen Anderson
<resistor@mac.com>
Wed, 1 Sep 2010 18:27:22 +0000
(18:27 +0000)
committer
Owen Anderson
<resistor@mac.com>
Wed, 1 Sep 2010 18:27:22 +0000
(18:27 +0000)
if we schedule another LVI-using pass afterwards.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@112722
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 abf98866aec5f19f9d5aa236004808b416fc0261..6fd8ed10efffe0598419192c92961ea08040b880 100644
(file)
--- a/
lib/Transforms/Scalar/JumpThreading.cpp
+++ b/
lib/Transforms/Scalar/JumpThreading.cpp
@@
-100,8
+100,10
@@
namespace {
bool runOnFunction(Function &F);
virtual void getAnalysisUsage(AnalysisUsage &AU) const {
- if (EnableLVI)
+ if (EnableLVI)
{
AU.addRequired<LazyValueInfo>();
+ AU.addPreserved<LazyValueInfo>();
+ }
}
void FindLoopHeaders(Function &F);