summaryrefslogtreecommitdiffstats
path: root/polly/lib/CodeGen/CodeGeneration.cpp
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2015-09-09 22:13:56 +0000
committerChandler Carruth <chandlerc@gmail.com>2015-09-09 22:13:56 +0000
commit66ef16b2890e57d4cc94e4ebf902a9ed741e8c26 (patch)
treea6b14fd09e409f7c0489e8b59ae6f5a3c914cf8d /polly/lib/CodeGen/CodeGeneration.cpp
parent13f11bba7d97c7cc0fcc3f33472868ad93e3485f (diff)
downloadbcm5719-llvm-66ef16b2890e57d4cc94e4ebf902a9ed741e8c26.tar.gz
bcm5719-llvm-66ef16b2890e57d4cc94e4ebf902a9ed741e8c26.zip
[PM] Update Polly for the new AA infrastructure landed in r247167.
llvm-svn: 247198
Diffstat (limited to 'polly/lib/CodeGen/CodeGeneration.cpp')
-rw-r--r--polly/lib/CodeGen/CodeGeneration.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/polly/lib/CodeGen/CodeGeneration.cpp b/polly/lib/CodeGen/CodeGeneration.cpp
index 0be2eab3870..b8e40087226 100644
--- a/polly/lib/CodeGen/CodeGeneration.cpp
+++ b/polly/lib/CodeGen/CodeGeneration.cpp
@@ -30,7 +30,11 @@
#include "llvm/IR/Module.h"
#include "llvm/IR/Verifier.h"
#include "llvm/Support/Debug.h"
+#include "llvm/Analysis/AliasAnalysis.h"
+#include "llvm/Analysis/BasicAliasAnalysis.h"
+#include "llvm/Analysis/GlobalsModRef.h"
#include "llvm/Analysis/PostDominators.h"
+#include "llvm/Analysis/ScalarEvolutionAliasAnalysis.h"
using namespace polly;
using namespace llvm;
@@ -169,12 +173,16 @@ public:
AU.addPreserved<DependenceInfo>();
+ AU.addPreserved<AAResultsWrapperPass>();
+ AU.addPreserved<BasicAAWrapperPass>();
AU.addPreserved<LoopInfoWrapperPass>();
AU.addPreserved<DominatorTreeWrapperPass>();
+ AU.addPreserved<GlobalsAAWrapperPass>();
AU.addPreserved<PostDominatorTree>();
AU.addPreserved<IslAstInfo>();
AU.addPreserved<ScopDetection>();
AU.addPreserved<ScalarEvolutionWrapperPass>();
+ AU.addPreserved<SCEVAAWrapperPass>();
// FIXME: We do not yet add regions for the newly generated code to the
// region tree.
OpenPOWER on IntegriCloud