diff options
author | Johannes Doerfert <doerfert@cs.uni-saarland.de> | 2015-02-14 12:00:06 +0000 |
---|---|---|
committer | Johannes Doerfert <doerfert@cs.uni-saarland.de> | 2015-02-14 12:00:06 +0000 |
commit | b6755bbd5fa4872aa1c03aa359fa13befb97b93b (patch) | |
tree | 1189f1c84cd176f015dd52701c18420a1dbeeacc | |
parent | edd92948d1df64cc0c121c0d555e6ed6ca5fe61a (diff) | |
download | bcm5719-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.cpp | 2 |
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)); |