[polly] r264269 - Remove obsolete code
Johannes Doerfert via llvm-commits
llvm-commits at lists.llvm.org
Thu Mar 24 06:19:16 PDT 2016
Author: jdoerfert
Date: Thu Mar 24 08:19:16 2016
New Revision: 264269
URL: http://llvm.org/viewvc/llvm-project?rev=264269&view=rev
Log:
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.
Modified:
polly/trunk/lib/Analysis/ScopInfo.cpp
Modified: polly/trunk/lib/Analysis/ScopInfo.cpp
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/lib/Analysis/ScopInfo.cpp?rev=264269&r1=264268&r2=264269&view=diff
==============================================================================
--- polly/trunk/lib/Analysis/ScopInfo.cpp (original)
+++ polly/trunk/lib/Analysis/ScopInfo.cpp Thu Mar 24 08:19:16 2016
@@ -3064,14 +3064,7 @@ bool Scop::isHoistableAccess(MemoryAcces
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())) {
More information about the llvm-commits
mailing list