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:
efb9979
)
isl_dim_equal: don't require names of input and output variables to match
author
Sven Verdoolaege
<skimo@kotnet.org>
Tue, 26 Jan 2010 14:40:02 +0000
(15:40 +0100)
committer
Sven Verdoolaege
<skimo@kotnet.org>
Sun, 31 Jan 2010 20:15:47 +0000
(21:15 +0100)
isl_dim.c
patch
|
blob
|
history
diff --git
a/isl_dim.c
b/isl_dim.c
index
220b81f
..
a826dae
100644
(file)
--- a/
isl_dim.c
+++ b/
isl_dim.c
@@
-593,8
+593,8
@@
unsigned isl_dim_total(struct isl_dim *dim)
int isl_dim_equal(struct isl_dim *dim1, struct isl_dim *dim2)
{
return match(dim1, isl_dim_param, dim2, isl_dim_param) &&
-
match(dim1, isl_dim_in,
dim2, isl_dim_in) &&
-
match(dim1, isl_dim_out,
dim2, isl_dim_out);
+
n(dim1, isl_dim_in) == n(
dim2, isl_dim_in) &&
+
n(dim1, isl_dim_out) == n(
dim2, isl_dim_out);
}
int isl_dim_compatible(struct isl_dim *dim1, struct isl_dim *dim2)