aboutsummaryrefslogtreecommitdiff
path: root/polly/lib
diff options
context:
space:
mode:
authorTobias Grosser <tobias@grosser.es>2017-07-17 20:47:10 +0000
committerTobias Grosser <tobias@grosser.es>2017-07-17 20:47:10 +0000
commit4556c9b8feec5ef5b44b3dc4be85ef8ba954e670 (patch)
treed7327b550862fa0207bc229a5966692ab8713b7f /polly/lib
parent8d8916d1dd28460b9eea75d1502079969cf03f03 (diff)
downloadllvm-4556c9b8feec5ef5b44b3dc4be85ef8ba954e670.zip
llvm-4556c9b8feec5ef5b44b3dc4be85ef8ba954e670.tar.gz
llvm-4556c9b8feec5ef5b44b3dc4be85ef8ba954e670.tar.bz2
[ScopInfo] Simplify new access functions under domain context
Summary: We do not keep domain constraints on access functions when building the scop. Hence, for consistency reasons, it makes also sense to not include them when storing a new access function. This change results in simpler access functions that make output easier to read. This patch also helps to make DeLICMed memory accesses to be understood by our matrix multiplication pattern matching pass. Further changes to the matrix multiplication pattern matching are needed for this to work, so the corresponding test case will be added in a future commit. Reviewers: Meinersbur, bollu, gareevroman, efriedma, huihuiz, sebpop, simbuerg Subscribers: pollydev, llvm-commits Tags: #polly Differential Revision: https://reviews.llvm.org/D35237 llvm-svn: 308215
Diffstat (limited to 'polly/lib')
-rw-r--r--polly/lib/Analysis/ScopInfo.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/polly/lib/Analysis/ScopInfo.cpp b/polly/lib/Analysis/ScopInfo.cpp
index 0578edb..b5d4100 100644
--- a/polly/lib/Analysis/ScopInfo.cpp
+++ b/polly/lib/Analysis/ScopInfo.cpp
@@ -1240,6 +1240,7 @@ void MemoryAccess::setNewAccessRelation(__isl_take isl_map *NewAccess) {
#endif
isl_map_free(NewAccessRelation);
+ NewAccess = isl_map_gist_domain(NewAccess, getStatement()->getDomain());
NewAccessRelation = NewAccess;
}