isl_basic_map_gist: drop irrelevant constraints from the context
commit269363bfd6accefca505409c658f2ee0c274bcf3
authorSven Verdoolaege <skimo@kotnet.org>
Sun, 18 Nov 2012 08:24:50 +0000 (18 09:24 +0100)
committerSven Verdoolaege <skimo@kotnet.org>
Tue, 20 Nov 2012 17:06:32 +0000 (20 18:06 +0100)
treecfb26b03d93496401077d6150fabaae7f988fa4e
parent15171e1f108a0135be105fb470e39688cfe20839
isl_basic_map_gist: drop irrelevant constraints from the context

The context may contain constraints on variables that do not even
appear in the input basic map.  The constraints therefore cannot
be exploited to simplify the input and only serve to make some
of the internal computations more expensive, in particular the
computation of the affine hull of the intersection of input and context
and the emptiness checks used in the final determination of
the redundancy of a constraint.
It's therefore more efficient to remove those irrelevant constraints.

Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
isl_map_simplify.c
test_inputs/codegen/cloog/jacobi-shared.c
test_inputs/codegen/cloog/mxm-shared.c
test_inputs/codegen/cloog/reservoir-liu-zhuge1.c
test_inputs/codegen/cloog/reservoir-mg-rprj3.c
test_inputs/codegen/cloog/vasilache.c
test_inputs/codegen/omega/lift2-0.c
test_inputs/codegen/omega/ts1d-mp-i_ts-m_b-0.c