isl_ast_build_detect_strides: store result of isl_val_gcd in correct variable
commit98481669eb9c70d47eb0fd4587f30a6a47b7211e
authorSven Verdoolaege <skimo@kotnet.org>
Mon, 28 Jul 2014 09:15:34 +0000 (28 11:15 +0200)
committerSven Verdoolaege <skimo@kotnet.org>
Tue, 29 Jul 2014 11:31:26 +0000 (29 13:31 +0200)
treebeb411c4a174fb104478362b1560009a59b66fe3
parentd5c52aba401d4ff786146651ef354d373d0a45c2
isl_ast_build_detect_strides: store result of isl_val_gcd in correct variable

Since isl_val_gcd tends to update the first argument in-place if possible,
the result would typically (or even always) happen to be correct.

Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
isl_ast_build.c