summaryrefslogtreecommitdiffstats
path: root/polly/lib/CodeGen/IslAst.cpp
diff options
context:
space:
mode:
authorHongbin Zheng <etherzhhb@gmail.com>2016-03-03 08:15:33 +0000
committerHongbin Zheng <etherzhhb@gmail.com>2016-03-03 08:15:33 +0000
commit2a798853f86061ee34b3fa953560955164e370d3 (patch)
tree8b58acb4caff8f85a5eb2923db133fb1e0d3991a /polly/lib/CodeGen/IslAst.cpp
parent4cfe572932ddb35dc91d4c241e41205543479b17 (diff)
downloadbcm5719-llvm-2a798853f86061ee34b3fa953560955164e370d3.tar.gz
bcm5719-llvm-2a798853f86061ee34b3fa953560955164e370d3.zip
Allow the client of DependenceInfo to obtain dependences at different granularities.
llvm-svn: 262591
Diffstat (limited to 'polly/lib/CodeGen/IslAst.cpp')
-rw-r--r--polly/lib/CodeGen/IslAst.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/polly/lib/CodeGen/IslAst.cpp b/polly/lib/CodeGen/IslAst.cpp
index 1c058abce14..8f266b50968 100644
--- a/polly/lib/CodeGen/IslAst.cpp
+++ b/polly/lib/CodeGen/IslAst.cpp
@@ -466,7 +466,8 @@ bool IslAstInfo::runOnScop(Scop &Scop) {
S = &Scop;
- const Dependences &D = getAnalysis<DependenceInfo>().getDependences();
+ const Dependences &D =
+ getAnalysis<DependenceInfo>().getDependences(Dependences::AL_Statement);
Ast = IslAst::create(&Scop, D);
OpenPOWER on IntegriCloud