summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohannes Doerfert <doerfert@cs.uni-saarland.de>2015-02-14 12:00:06 +0000
committerJohannes Doerfert <doerfert@cs.uni-saarland.de>2015-02-14 12:00:06 +0000
commitb6755bbd5fa4872aa1c03aa359fa13befb97b93b (patch)
tree1189f1c84cd176f015dd52701c18420a1dbeeacc
parentedd92948d1df64cc0c121c0d555e6ed6ca5fe61a (diff)
downloadbcm5719-llvm-b6755bbd5fa4872aa1c03aa359fa13befb97b93b.tar.gz
bcm5719-llvm-b6755bbd5fa4872aa1c03aa359fa13befb97b93b.zip
Overaproximate divisions in for the alias checks.
Alias checks might become costly if there are divisions that complicate the description of the accessed locations. By overaproximating them we get fairly accurate results without the huge compile time cost. llvm-svn: 229252
-rw-r--r--polly/lib/Analysis/ScopInfo.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/polly/lib/Analysis/ScopInfo.cpp b/polly/lib/Analysis/ScopInfo.cpp
index 4d0b93d1f82..9ea7c0afd66 100644
--- a/polly/lib/Analysis/ScopInfo.cpp
+++ b/polly/lib/Analysis/ScopInfo.cpp
@@ -1307,6 +1307,8 @@ static int buildMinMaxAccess(__isl_take isl_set *Set, void *User) {
}
}
+ Set = isl_set_remove_divs(Set);
+
MinPMA = isl_set_lexmin_pw_multi_aff(isl_set_copy(Set));
MaxPMA = isl_set_lexmax_pw_multi_aff(isl_set_copy(Set));
OpenPOWER on IntegriCloud