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:
dabffb3
)
isl_aff.c: document isl_aff_normalize
author
Sven Verdoolaege
<skimo@kotnet.org>
Thu, 19 Jul 2012 16:15:06 +0000
(18:15 +0200)
committer
Sven Verdoolaege
<skimo@kotnet.org>
Thu, 6 Sep 2012 12:41:41 +0000
(14:41 +0200)
Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
isl_aff.c
patch
|
blob
|
history
diff --git
a/isl_aff.c
b/isl_aff.c
index
a531bf8
..
e47cad9
100644
(file)
--- a/
isl_aff.c
+++ b/
isl_aff.c
@@
-648,6
+648,12
@@
__isl_give isl_aff *isl_aff_remove_unused_divs( __isl_take isl_aff *aff)
return aff;
}
+/* Normalize the representation of "aff".
+ *
+ * This function should only be called of "new" isl_affs, i.e.,
+ * with only a single reference. We therefore do not need to
+ * worry about affecting other instances.
+ */
__isl_give isl_aff *isl_aff_normalize(__isl_take isl_aff *aff)
{
if (!aff)