isl_basic_map_reduce_coefficients: perform sanity check on reduction data
commitfa4dcb3e886bfedb561738d925863ec2b1a91ea4
authorSven Verdoolaege <sven@cerebras.net>
Mon, 28 Sep 2020 07:53:25 +0000 (28 09:53 +0200)
committerSven Verdoolaege <sven@cerebras.net>
Sat, 3 Feb 2024 10:11:50 +0000 (3 11:11 +0100)
tree5b60f946950671c4095e3923075a930997bee34f
parent02dd3648371335b8abfdeac711f73de8b06ff5f2
isl_basic_map_reduce_coefficients: perform sanity check on reduction data

In particular, check that the total dimensionality of the basic map
has not changed since the data was derived.
This helps to prevent inappropriate reuse of reduce_coefficients.

Signed-off-by: Sven Verdoolaege <sven@cerebras.net>
isl_map_simplify.c