[PATCH] D26408: [LoopDistribute] Preserve GlobalsAA also in the new PM

Davide Italiano via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 8 12:02:15 PST 2016


This revision was automatically updated to reflect the committed changes.
Closed by commit rL286280: [LoopDistribute] Preserve GlobalsAA also in the new Pass Manager. (authored by davide).

Changed prior to commit:
  https://reviews.llvm.org/D26408?vs=77226&id=77230#toc

Repository:
  rL LLVM

https://reviews.llvm.org/D26408

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


Index: llvm/trunk/lib/Transforms/Scalar/LoopDistribute.cpp
===================================================================
--- llvm/trunk/lib/Transforms/Scalar/LoopDistribute.cpp
+++ llvm/trunk/lib/Transforms/Scalar/LoopDistribute.cpp
@@ -977,6 +977,7 @@
   PreservedAnalyses PA;
   PA.preserve<LoopAnalysis>();
   PA.preserve<DominatorTreeAnalysis>();
+  PA.preserve<GlobalsAA>();
   return PA;
 }
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D26408.77230.patch
Type: text/x-patch
Size: 405 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20161108/d6d23289/attachment.bin>


More information about the llvm-commits mailing list