isl_basic_map_reduce_coefficients: introduce isl_reduce_coefficients_data
commitf7074c360474d860149e621897f5c2e048657fd8
authorSven Verdoolaege <sven@cerebras.net>
Fri, 19 Jun 2020 15:36:20 +0000 (19 17:36 +0200)
committerSven Verdoolaege <sven@cerebras.net>
Sat, 3 Feb 2024 10:07:12 +0000 (3 11:07 +0100)
treefe03d933d03df5940cb89459003568d000635e5f
parente2f596c4d38074b5461205f0f3c93627f182fccc
isl_basic_map_reduce_coefficients: introduce isl_reduce_coefficients_data

By moving out the initialization and clearing, this reduces
the size of isl_basic_map_reduce_coefficients.
It will also make it easier to reuse the core reduction
in an upcoming commit.

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