From: Sven Verdoolaege Date: Tue, 26 Jan 2010 14:40:02 +0000 (+0100) Subject: isl_dim_equal: don't require names of input and output variables to match X-Git-Tag: isl-0.02~137 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1d74edc8b48d8585dffb91ea0b4eb4592c2ce368;p=platform%2Fupstream%2Fisl.git isl_dim_equal: don't require names of input and output variables to match --- diff --git a/isl_dim.c b/isl_dim.c index 220b81f..a826dae 100644 --- 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)