isl_scheduler.c: carry_dependences: only count number of edges once
commit1e193d9f9062c83add35c7b708ad7e2bbf63f9da
authorSven Verdoolaege <skimo@kotnet.org>
Wed, 1 Mar 2017 15:06:19 +0000 (1 16:06 +0100)
committerSven Verdoolaege <skimo@kotnet.org>
Wed, 1 Mar 2017 15:06:19 +0000 (1 16:06 +0100)
tree4cee15f719a82887b17bc11203ced2af53030771
parentbdec75ddbe9ee84fdc5a52acb712639818c07c55
isl_scheduler.c: carry_dependences: only count number of edges once

Even though the computation of the number of edges should be fairly cheap,
there is no advantage in doing it twice.  Do it once to clarify that
these two numbers are expected to be the same.

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