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:
7141e89
)
isl_basic_map_underlying_set: remove any structure and names from the input
author
Sven Verdoolaege
<skimo@kotnet.org>
Mon, 1 Nov 2010 14:59:43 +0000
(15:59 +0100)
committer
Sven Verdoolaege
<skimo@kotnet.org>
Mon, 1 Nov 2010 15:00:24 +0000
(16:00 +0100)
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
ee43d40
..
93ffa58
100644
(file)
--- a/
isl_map.c
+++ b/
isl_map.c
@@
-3493,7
+3493,9
@@
struct isl_basic_set *isl_basic_map_underlying_set(
if (!bmap)
goto error;
if (bmap->dim->nparam == 0 && bmap->dim->n_in == 0 &&
- bmap->n_div == 0 && !isl_dim_get_tuple_name(bmap->dim, isl_dim_out))
+ bmap->n_div == 0 &&
+ !isl_dim_is_named_or_nested(bmap->dim, isl_dim_in) &&
+ !isl_dim_is_named_or_nested(bmap->dim, isl_dim_out))
return (struct isl_basic_set *)bmap;
bmap = isl_basic_map_cow(bmap);
if (!bmap)