tree2scop.c: scop_from_non_affine_if: drop preallocation of statement number
commit23c0ecaf07886352876812751821ffb326665899
authorSven Verdoolaege <skimo@kotnet.org>
Mon, 10 Mar 2014 10:26:47 +0000 (10 11:26 +0100)
committerSven Verdoolaege <skimo@kotnet.org>
Tue, 25 Mar 2014 13:36:27 +0000 (25 14:36 +0100)
tree1ab5219fec1ef881c2c692bfdd7c689903055eb7
parent248388821d68a1c2ab5a1efb8181b4ddd466e86c
tree2scop.c: scop_from_non_affine_if: drop preallocation of statement number

Before the previous commit, we would extract a scop for the body/bodies
before extracting a scop for the non-affine condition.
Since we wanted the statement number of the statement evaluating
the non-affine condition to be smaller than the statement numbers
of the statements in the body, we would preallocate a statement number.
Now that we extract a scop from the body/bodies after extracting the scop
for the non-affine condition, this preallocation is no longer needed.

Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
tests/dynamic_condition.scop
tests/filter.scop
tests/wdp.scop
tree2scop.c