isl_tab_track_bmap: make sure we have a unique copy of the basic map
authorSven Verdoolaege <skimo@kotnet.org>
Mon, 16 Jan 2012 15:21:49 +0000 (16:21 +0100)
committerSven Verdoolaege <skimo@kotnet.org>
Mon, 16 Jan 2012 15:21:49 +0000 (16:21 +0100)
commit704dca214e430aaeef1fbf7c0335d906e5fbd3b7
tree1e5819c90ca4604761ee327290e4ecef5eff04d5
parentd876fe7d4aa4bbe61345622d3ecb94b8854848c2
isl_tab_track_bmap: make sure we have a unique copy of the basic map

The basic map will be modified in place by isl_tab_add_ineq.
Some callers were passing a unique copy to isl_tab_track_bmap
already, but some others apparently were not.
It's safer to just let isl_tab_track_bmap take care of this.

Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
isl_tab.c
isl_tab_pip.c