mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-19 11:02:59 +02:00
JumpThreading keeps LazyValueInfo up to date, so we don't need to rerun it
if we schedule another LVI-using pass afterwards. llvm-svn: 112722
This commit is contained in:
parent
92238b2b5a
commit
e036dd5b0b
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user