isl_coalesce.c: expand_tab: first extract out list of expanded variables
commit2f8b9a75c04b1b9033fb76897169a07d330e1206
authorSven Verdoolaege <skimo@kotnet.org>
Wed, 5 Oct 2016 12:14:41 +0000 (5 14:14 +0200)
committerSven Verdoolaege <skimo@kotnet.org>
Mon, 19 Dec 2016 09:05:20 +0000 (19 10:05 +0100)
tree2c99b2b4b5948ebbcf77c8de8046aa4b58c8ec39
parent9cc0e00bcc1eb16780a151954e52735b2ee82ff9
isl_coalesce.c: expand_tab: first extract out list of expanded variables

The function expand_tab currently iterates over the extra
integer division variables once, but in an upcoming commit,
it will iterate over them several times.
Since performing this iteration based on the expansion is somewhat
verbose, extract the list of extra integer division variables first.
Iterating over this list is much simpler.

Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
isl_coalesce.c