don't construct guards on expressions that turn out to be constant
commit7aaaa5e7bcdb5cb8faa7197a326242c1d73d0ae2
authorSven Verdoolaege <sven@cs.kuleuven.be>
Mon, 9 Nov 2009 21:59:39 +0000 (9 21:59 +0000)
committerSven Verdoolaege <skimo@kotnet.org>
Wed, 11 Nov 2009 20:24:25 +0000 (11 21:24 +0100)
tree2d01c4114e8c4bbce13beb15f01267513fba58a5
parent553bc7bd1546efa8f5eccc6a13ac3682c607afab
don't construct guards on expressions that turn out to be constant

Instead, omit the guard if it satisfied and omit the guarded code
if it isn't.

Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
source/clast.c
test/Makefile.am
test/isl/mod4.c [new file with mode: 0644]
test/isl/walters.c [new file with mode: 0644]
test/mod4.cloog [new file with mode: 0644]
test/polylib/mod4.c [new file with mode: 0644]
test/polylib/walters.c [new file with mode: 0644]
test/walters.cloog [new file with mode: 0644]
test/walters.good.c [new file with mode: 0644]