isl_ast_codegen.c: generate_domain: postpone single-valuedness test
commit580666aadaa47187a5724f83a412f8074896f90a
authorSven Verdoolaege <skimo@kotnet.org>
Sun, 7 Oct 2012 10:18:45 +0000 (7 12:18 +0200)
committerSven Verdoolaege <skimo@kotnet.org>
Sun, 7 Oct 2012 12:31:45 +0000 (7 14:31 +0200)
treef81a6b5e5a0933ba4ef95d3a5d7519b9efaf26cc
parent2b0241c844a0607b498556564d084d90ed0f4058
isl_ast_codegen.c: generate_domain: postpone single-valuedness test

In particular, perform the test on the map that will actually be used
to construct the call expression.

The original code would first perform the test and then construct
the call expression from a map with a simplified domain.
This construction may fail because after simplification of the domain,
the map may no longer be single valued.

Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
isl_ast_codegen.c
test_inputs/codegen/cloog/thomasset.c
test_inputs/codegen/dwt.c [new file with mode: 0644]
test_inputs/codegen/dwt.in [new file with mode: 0644]