projects
/
platform
/
upstream
/
isl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
990cfe3
)
isl_basic_map_remove_dims: properly handle named or nested spaces
author
Sven Verdoolaege
<skimo@kotnet.org>
Fri, 5 Aug 2011 15:55:19 +0000
(17:55 +0200)
committer
Sven Verdoolaege
<skimo@kotnet.org>
Fri, 5 Aug 2011 15:55:19 +0000
(17:55 +0200)
Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
isl_map.c
patch
|
blob
|
history
diff --git
a/isl_map.c
b/isl_map.c
index
4e41529
..
0c2cd15
100644
(file)
--- a/
isl_map.c
+++ b/
isl_map.c
@@
-1443,7
+1443,7
@@
struct isl_basic_map *isl_basic_map_remove_dims(struct isl_basic_map *bmap,
return NULL;
isl_assert(bmap->ctx, first + n <= isl_basic_map_dim(bmap, type),
goto error);
- if (n == 0)
+ if (n == 0
&& !isl_dim_is_named_or_nested(bmap->dim, type)
)
return bmap;
bmap = isl_basic_map_eliminate_vars(bmap,
isl_basic_map_offset(bmap, type) - 1 + first, n);