diff options
author | spop <spop@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-11-25 04:48:51 +0000 |
---|---|---|
committer | spop <spop@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-11-25 04:48:51 +0000 |
commit | ae11f03bac138ee5e7c74c96bf4b4ec91daa419a (patch) | |
tree | c3a3e11e113cb3a461256142830a77efb4b05a37 /gcc/graphite-poly.c | |
parent | e5d72697a63fb5fba97fa1f1027d765cc17a0711 (diff) | |
download | gcc-ae11f03bac138ee5e7c74c96bf4b4ec91daa419a.tar.gz |
2009-09-17 Li Feng <nemokingdom@gmail.com>
PR middle-end/41118
* graphite-dependences.c (poly_drs_may_alias_p): Adjust definition.
(pddr_original_scattering): Make sure 2 pdr2 in the same base object set.
(graphite_carried_dependence_level_k): Ditto.
* graphite-poly.c (new_poly_dr): Add init of PDR_BASE_OBJECT_SET.
* graphite-poly.h (struct poly_dr): Add member dr_base_object_set.
(new_poly_dr): Adjust declaration.
* graphite-sese-to-poly.c (free_data_refs_aux): New.
(free_gimple_bb): Added free_data_refs_aux.
(build_poly_dr): Add dr_base_object_set.
(partition_drs_to_sets): New.
(dr_same_base_object_p): New.
(build_alias_set_for_drs): New.
(build_base_object_set_for_drs): New.
(build_scop_drs): Add build_base_obj_set_for_drs.
* graphite-sese-to-poly.h: Added #define for alias set number index and
base object set index.
* libgomp/testsuite/libgomp.graphite/force-parallel-6.c: Refine tests.
* libgomp/testsuite/libgomp.graphite/pr4118.c: New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@154549 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/graphite-poly.c')
-rw-r--r-- | gcc/graphite-poly.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/graphite-poly.c b/gcc/graphite-poly.c index 535912a87ca..e06bb6dd835 100644 --- a/gcc/graphite-poly.c +++ b/gcc/graphite-poly.c @@ -307,7 +307,7 @@ pbb_remove_duplicate_pdrs (poly_bb_p pbb) NB_SUBSCRIPTS. */ void -new_poly_dr (poly_bb_p pbb, +new_poly_dr (poly_bb_p pbb, int dr_base_object_set, ppl_Pointset_Powerset_C_Polyhedron_t accesses, enum poly_dr_type type, void *cdr, graphite_dim_t nb_subscripts) { @@ -315,6 +315,7 @@ new_poly_dr (poly_bb_p pbb, poly_dr_p pdr = XNEW (struct poly_dr); PDR_ID (pdr) = id++; + PDR_BASE_OBJECT_SET (pdr) = dr_base_object_set; PDR_NB_REFS (pdr) = 1; PDR_PBB (pdr) = pbb; PDR_ACCESSES (pdr) = accesses; |