isl_schedule.c: extract_edge: look for matching edge directly
commitef29a727c9af11c2c64b0b8cabfb526ad8a8e0a5
authorSven Verdoolaege <skimo@kotnet.org>
Wed, 2 Jan 2013 09:20:52 +0000 (2 10:20 +0100)
committerSven Verdoolaege <skimo@kotnet.org>
Wed, 18 Sep 2013 11:09:59 +0000 (18 13:09 +0200)
tree1bf0bebb8f65681bcf8a11a280485b94ed75c6e0
parent364a95ebe60fb3a14fbb55f8c24df5b4c4da593d
isl_schedule.c: extract_edge: look for matching edge directly

If there are two edges of different types that happen to have the
same map field, then we want to merge the two edges into one.
Before, we would look for any edge (of a different type) between
the same to nodes and then check if the map fields happen to be the same.
Now we continue looking for edges of other types if the map fields are
not the same.

This change should not have any effect in the current code base
because there are only two types of edges, but it will have an
effect once we consider more types.

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