Skip to content

Commit

Permalink
[LoopDistribute] Preserve GlobalsAA also in the new Pass Manager.
Browse files Browse the repository at this point in the history
Differential Revision:  https://reviews.llvm.org/D26408

llvm-svn: 286280
  • Loading branch information
dcci committed Nov 8, 2016
1 parent d21485d commit 11a871b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions llvm/lib/Transforms/Scalar/LoopDistribute.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -977,6 +977,7 @@ PreservedAnalyses LoopDistributePass::run(Function &F,
PreservedAnalyses PA;
PA.preserve<LoopAnalysis>();
PA.preserve<DominatorTreeAnalysis>();
PA.preserve<GlobalsAA>();
return PA;
}

Expand Down

0 comments on commit 11a871b

Please sign in to comment.