isl_*_copy_tuple_id: use BASE instead of TYPE to select variant
commitdb70909d325dc5a1cec34633976c6f4acf8527a1
authorSven Verdoolaege <sven@cerebras.net>
Tue, 15 Sep 2020 09:09:57 +0000 (15 11:09 +0200)
committerSven Verdoolaege <sven@cerebras.net>
Wed, 1 Mar 2023 21:05:47 +0000 (1 22:05 +0100)
treed0482495479eec1f462a364ed3166d85cafbacd3
parentdfdd02c4575ccc422e8173524609008e03440eae
isl_*_copy_tuple_id: use BASE instead of TYPE to select variant

The next commit will introduce an isl_set variant,
but isl_set is currently defined internally as isl_map,
so the function would get called isl_map_copy_tuple_id
when using TYPE to define the function name.
Even though an isl_set is currently effectively
the same as an isl_map, it is still better to
ensure the isl_set variant is called isl_set_copy_tuple_id.

Signed-off-by: Sven Verdoolaege <sven@cerebras.net>
isl_aff.c
isl_copy_tuple_id_templ.c
isl_map.c