diff options
author | Johannes Doerfert <doerfert@cs.uni-saarland.de> | 2016-03-24 13:19:16 +0000 |
---|---|---|
committer | Johannes Doerfert <doerfert@cs.uni-saarland.de> | 2016-03-24 13:19:16 +0000 |
commit | 2b470e8e61c8b779de3a5f5e775576c8b7bdffe8 (patch) | |
tree | a3844cb68add82e9a4055718e814e9f9c4fd0e64 | |
parent | 13d5d5b184b09535c0df8773a7c852354307d64a (diff) | |
download | bcm5719-llvm-2b470e8e61c8b779de3a5f5e775576c8b7bdffe8.tar.gz bcm5719-llvm-2b470e8e61c8b779de3a5f5e775576c8b7bdffe8.zip |
Remove obsolete code
Since r261226 we should not see this situation any more, if so it is probably
a bug that would only be hidden.
llvm-svn: 264269
-rw-r--r-- | polly/lib/Analysis/ScopInfo.cpp | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/polly/lib/Analysis/ScopInfo.cpp b/polly/lib/Analysis/ScopInfo.cpp index 166b954210f..463a769047b 100644 --- a/polly/lib/Analysis/ScopInfo.cpp +++ b/polly/lib/Analysis/ScopInfo.cpp @@ -3064,14 +3064,7 @@ bool Scop::isHoistableAccess(MemoryAccess *Access, return false; isl_map *AccessRelation = Access->getAccessRelation(); - - // Skip accesses that have an empty access relation. These can be caused - // by multiple offsets with a type cast in-between that cause the overall - // byte offset to be not divisible by the new types sizes. - if (isl_map_is_empty(AccessRelation)) { - isl_map_free(AccessRelation); - return false; - } + assert(!isl_map_is_empty(AccessRelation)); if (isl_map_involves_dims(AccessRelation, isl_dim_in, 0, Stmt.getNumIterators())) { |