diff options
author | Roman Gareev <gareevroman@gmail.com> | 2014-07-28 06:01:24 +0000 |
---|---|---|
committer | Roman Gareev <romangareev@gcc.gnu.org> | 2014-07-28 06:01:24 +0000 |
commit | d50cc61ad30344444108c6f66f4f2f1295c20551 (patch) | |
tree | 370c22b1194e5befe42a219d90fe276a9f018a87 /gcc/graphite-sese-to-poly.c | |
parent | 333cc5184301dc7efafa0f71d2493f4fd88bc106 (diff) | |
download | gcc-d50cc61ad30344444108c6f66f4f2f1295c20551.zip gcc-d50cc61ad30344444108c6f66f4f2f1295c20551.tar.gz gcc-d50cc61ad30344444108c6f66f4f2f1295c20551.tar.bz2 |
[gcc/]
* graphite-sese-to-poly.c:
(new_pbb_from_pbb): Set a new id of pbb1->domain (instead of using the
id of the pbb), which contains pointer to the pbb1.
[gcc/testsuite]
* gcc.dg/graphite/isl-ast-gen-if-2.c: New testcase.
From-SVN: r213110
Diffstat (limited to 'gcc/graphite-sese-to-poly.c')
-rw-r--r-- | gcc/graphite-sese-to-poly.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/graphite-sese-to-poly.c b/gcc/graphite-sese-to-poly.c index 0bc44330..3254df9 100644 --- a/gcc/graphite-sese-to-poly.c +++ b/gcc/graphite-sese-to-poly.c @@ -2044,6 +2044,8 @@ new_pbb_from_pbb (scop_p scop, poly_bb_p pbb, basic_block bb) break; pbb1->domain = isl_set_copy (pbb->domain); + pbb1->domain = isl_set_set_tuple_id (pbb1->domain, + isl_id_for_pbb (scop, pbb1)); GBB_PBB (gbb1) = pbb1; GBB_CONDITIONS (gbb1) = GBB_CONDITIONS (gbb).copy (); |