isl_basic_map_reduce_coefficients: move dropping variables last
commit0c0958b989a1c1c4576c5f031969feec2e01151d
authorSven Verdoolaege <sven@cerebras.net>
Mon, 28 Sep 2020 07:53:12 +0000 (28 09:53 +0200)
committerSven Verdoolaege <sven@cerebras.net>
Sat, 3 Feb 2024 10:12:36 +0000 (3 11:12 +0100)
treea3a37c7124547de0f316d15560ef30344e800a93
parentfa4dcb3e886bfedb561738d925863ec2b1a91ea4
isl_basic_map_reduce_coefficients: move dropping variables last

The next commit will introduce a second reduction using data derived
from the original input.  This no longer applies if any local
variables have been dropped in between, which can happen
in the call to eliminate_divs_eq.
Move the call to eliminate_divs_eq down such that the second
reduction can be inserted between the call to isl_basic_map_gauss and
the call to eliminate_divs_eq.

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