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

Davide Italiano via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 8 11:52:32 PST 2016


Author: davide
Date: Tue Nov  8 13:52:32 2016
New Revision: 286280

URL: http://llvm.org/viewvc/llvm-project?rev=286280&view=rev
Log:
[LoopDistribute] Preserve GlobalsAA also in the new Pass Manager.

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

Modified:
    llvm/trunk/lib/Transforms/Scalar/LoopDistribute.cpp

Modified: llvm/trunk/lib/Transforms/Scalar/LoopDistribute.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/Scalar/LoopDistribute.cpp?rev=286280&r1=286279&r2=286280&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/Scalar/LoopDistribute.cpp (original)
+++ llvm/trunk/lib/Transforms/Scalar/LoopDistribute.cpp Tue Nov  8 13:52:32 2016
@@ -977,6 +977,7 @@ PreservedAnalyses LoopDistributePass::ru
   PreservedAnalyses PA;
   PA.preserve<LoopAnalysis>();
   PA.preserve<DominatorTreeAnalysis>();
+  PA.preserve<GlobalsAA>();
   return PA;
 }
 




More information about the llvm-commits mailing list