isl_map_dim_{min,max}: use isl_basic_map_lexopt_pw_multi_aff
commit49a086f18b3fe2844120ff946510f555e5091133
authorSven Verdoolaege <sven.verdoolaege@gmail.com>
Thu, 28 Sep 2017 09:22:07 +0000 (28 11:22 +0200)
committerSven Verdoolaege <sven.verdoolaege@gmail.com>
Fri, 13 Oct 2017 21:06:42 +0000 (13 23:06 +0200)
treea750456638e23be860ebf02855bd45d24e949184
parent73bb2936d20bd25e42a3d4c7f0c4d38088b0aa31
isl_map_dim_{min,max}: use isl_basic_map_lexopt_pw_multi_aff

Parts of the isl_basic_map_lexopt_* implementations were merged in
isl-0.17.1-120-gd30117d6e1 (merge isl_tab_basic_map_partial_lexopt*
implementations, Tue Jun 14 10:23:30 2016 +0200) and
isl-0.17.1-122-g7c5c44c1e0 (merge isl_basic_*_partial_lex* implementations,
Tue Jun 14 16:15:41 2016 +0200), meaning that improvements such as
isl-0.17.1-128-g8590c53694 (isl_*_lexopt: use actual domain of input as
initial context, Tue Jun 14 13:12:04 2016 +0200) only had to be implemented
once.
The function isl_basic_map_foreach_lexopt, however, was not left out
of the merging.

Use isl_basic_map_lexopt_pw_multi_aff instead of isl_basic_map_foreach_lexopt
inside isl_map_dim_{min,max} to obtain more consistent results across
calls to different kinds of optimization functions.
Since this is the last remaining call to isl_basic_map_foreach_lexopt,
this also allows isl_basic_map_foreach_lexopt to be removed
in the next commit.

Signed-off-by: Sven Verdoolaege <sven.verdoolaege@gmail.com>
isl_map.c