expr.c: extract out pet_expr_get_affine
commitf5cd7840699e7bfd0df893fc3939d95a937d9628
authorSven Verdoolaege <skimo@kotnet.org>
Fri, 26 Feb 2016 16:27:12 +0000 (26 17:27 +0100)
committerSven Verdoolaege <skimo@kotnet.org>
Mon, 7 Mar 2016 11:13:53 +0000 (7 12:13 +0100)
tree410d90316ae43e568d9068b65a888abce68ccdcb
parent4104a474fdcb6b6ec5bc59a97e18554c84556d53
expr.c: extract out pet_expr_get_affine

This function will be reused to extract the affine expression
corresponding to the condition of a conditional operator
when fusing conditional accesses to an array.

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