[LoopDistribute] Preserve GlobalsAA also in the new Pass Manager.

Differential Revision:  https://reviews.llvm.org/D26408

llvm-svn: 286280
This commit is contained in:
Davide Italiano 2016-11-08 19:52:32 +00:00
parent d21485d2f5
commit 11a871b227
1 changed files with 1 additions and 0 deletions

View File

@ -977,6 +977,7 @@ PreservedAnalyses LoopDistributePass::run(Function &F,
PreservedAnalyses PA;
PA.preserve<LoopAnalysis>();
PA.preserve<DominatorTreeAnalysis>();
PA.preserve<GlobalsAA>();
return PA;
}