diff options
author | Sven Verdoolaege <skimo@kotnet.org> | 2011-07-09 12:07:45 +0200 |
---|---|---|
committer | Sven Verdoolaege <skimo@kotnet.org> | 2011-07-09 16:17:28 +0200 |
commit | 12e8ddb7920ae689201c88dbdb268fe0aa20b0c3 (patch) | |
tree | 1aa71819e0b99947aee892ab0b23952f9005c8bc /isl_pw_templ.c | |
parent | dddfcb758911e7983dec17880d073489131f4bf7 (diff) | |
download | isl-12e8ddb7920ae689201c88dbdb268fe0aa20b0c3.tar.gz isl-12e8ddb7920ae689201c88dbdb268fe0aa20b0c3.tar.bz2 isl-12e8ddb7920ae689201c88dbdb268fe0aa20b0c3.zip |
add isl_pw_aff_sub
Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
Diffstat (limited to 'isl_pw_templ.c')
-rw-r--r-- | isl_pw_templ.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/isl_pw_templ.c b/isl_pw_templ.c index cb734ca2..1b0296fe 100644 --- a/isl_pw_templ.c +++ b/isl_pw_templ.c @@ -333,6 +333,11 @@ __isl_give PW *FN(PW,neg)(__isl_take PW *pw) return pw; } + +__isl_give PW *FN(PW,sub)(__isl_take PW *pw1, __isl_take PW *pw2) +{ + return FN(PW,add)(pw1, FN(PW,neg)(pw2)); +} #endif #ifndef NO_EVAL |