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:
67e3311
)
isl_parameter_alignment_reordering: fix error handling
author
Sven Verdoolaege
<skimo@kotnet.org>
Sun, 2 Dec 2012 12:16:02 +0000
(13:16 +0100)
committer
Sven Verdoolaege
<skimo@kotnet.org>
Sun, 2 Dec 2012 12:16:02 +0000
(13:16 +0100)
Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
isl_reordering.c
patch
|
blob
|
history
diff --git
a/isl_reordering.c
b/isl_reordering.c
index
e824f21
..
30e2c8b
100644
(file)
--- a/
isl_reordering.c
+++ b/
isl_reordering.c
@@
-128,6
+128,8
@@
__isl_give isl_reordering *isl_parameter_alignment_reordering(
}
}
+ if (!exp->dim)
+ return isl_reordering_free(exp);
return exp;
error:
isl_reordering_free(exp);