gpu_group.c: check_scalar_live_ranges: avoid composing schedule with itself
commitaff5528d74e8f5d6e0d718ef25a626d9780c5c83
authorSven Verdoolaege <skimo@kotnet.org>
Fri, 25 Mar 2016 08:13:39 +0000 (25 09:13 +0100)
committerSven Verdoolaege <skimo@kotnet.org>
Fri, 25 Mar 2016 11:58:36 +0000 (25 12:58 +0100)
treeb9eec92ac327b43071958a92e8347eb532af436c
parented4508d50b020e575b163983ba1fc0c60ba0fdd0
gpu_group.c: check_scalar_live_ranges: avoid composing schedule with itself

Composing a schedule with its own inverse results in a data structure
of quadratic size.  Use (a different representation of) the schedule
itself instead.

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