summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Utils/ModuleUtils.cpp
diff options
context:
space:
mode:
authorMichael Kruse <llvm@meinersbur.de>2016-03-22 23:27:42 +0000
committerMichael Kruse <llvm@meinersbur.de>2016-03-22 23:27:42 +0000
commit49a59ca0930f3038e5bfc8cea66f06be957ecf92 (patch)
tree06d7506f07f954ad580f37a12a760f7f281a38f5 /llvm/lib/Transforms/Utils/ModuleUtils.cpp
parent009ea26358bc2a833a518afed4a9625e6aad8025 (diff)
downloadbcm5719-llvm-49a59ca0930f3038e5bfc8cea66f06be957ecf92.tar.gz
bcm5719-llvm-49a59ca0930f3038e5bfc8cea66f06be957ecf92.zip
[ScopInfo] Fix domains after loops.
ISL can conclude additional conditions on parameters from restrictions on loop variables. Such conditions persist when leaving the loop and the loop variable is projected out. This results in a narrower domain for exiting the loop than entering it and is logically impossible for non-infinite loops. We fix this by not adding a lower bound i>=0 when constructing BB domains, but defer it to when also the upper bound it computed, which was done redundantly even before this patch. This reduces the number of LNT fails with -polly-process-unprofitable -polly-position=before-vectorizer from 8 to 6. llvm-svn: 264118
Diffstat (limited to 'llvm/lib/Transforms/Utils/ModuleUtils.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud