allow boolean expressions where an affine expression is expected
commit4a961e0a8921d62a0c6ddf8c34a7597bfc3c4ecd
authorSven Verdoolaege <skimo@kotnet.org>
Mon, 21 Nov 2011 21:41:54 +0000 (21 22:41 +0100)
committerSven Verdoolaege <skimo@kotnet.org>
Wed, 23 Nov 2011 10:26:17 +0000 (23 11:26 +0100)
tree9b7ce69ba80702428dc60a43f44ba0d1cfb93897
parent23af4407f1229ae5e309b3bebf9b7bed7d0a06b4
allow boolean expressions where an affine expression is expected

For a boolean expression "cond", return the affine expression "cond ? 1 : 0".

Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
scan.cc
scan.h
tests/piecewise2.c [new file with mode: 0644]
tests/piecewise2.scop [new file with mode: 0644]