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:
a76dd23
)
isl_stream_read_map: read_var_list: simplify and finalize result
author
Sven Verdoolaege
<skimo@kotnet.org>
Tue, 26 Oct 2010 09:21:26 +0000
(11:21 +0200)
committer
Sven Verdoolaege
<skimo@kotnet.org>
Tue, 26 Oct 2010 14:22:36 +0000
(16:22 +0200)
read_var_list may add equalities, so at the very least we need
to gauss the constraints and finalize the result, but it doesn't
seem to hurt to also simplify the result.
Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
isl_input.c
patch
|
blob
|
history
diff --git
a/isl_input.c
b/isl_input.c
index
7ff7fa2
..
ff8c1e5
100644
(file)
--- a/
isl_input.c
+++ b/
isl_input.c
@@
-470,6
+470,8
@@
static __isl_give isl_basic_map *read_var_list(struct isl_stream *s,
if (tok)
isl_stream_push_token(s, tok);
+ bmap = isl_basic_map_simplify(bmap);
+ bmap = isl_basic_map_finalize(bmap);
return bmap;
error:
isl_token_free(tok);