forked from OSchip/llvm-project
[LoopDistribute] Preserve GlobalsAA also in the new Pass Manager.
Differential Revision: https://reviews.llvm.org/D26408 llvm-svn: 286280
This commit is contained in:
parent
d21485d2f5
commit
11a871b227
|
@ -977,6 +977,7 @@ PreservedAnalyses LoopDistributePass::run(Function &F,
|
|||
PreservedAnalyses PA;
|
||||
PA.preserve<LoopAnalysis>();
|
||||
PA.preserve<DominatorTreeAnalysis>();
|
||||
PA.preserve<GlobalsAA>();
|
||||
return PA;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue