diff options
author | Sebastian Pop <sebastian.pop@amd.com> | 2009-08-12 14:23:01 +0000 |
---|---|---|
committer | Sebastian Pop <spop@gcc.gnu.org> | 2009-08-12 14:23:01 +0000 |
commit | f4648ed13904dcf3fc8af24896055843b46b2d96 (patch) | |
tree | ea44f243fde73312dfa71681281a6fb0189704fc /gcc/java/java-tree.h | |
parent | e31a5bd4bba66e7704192d8c978f1bc3e9f9436c (diff) | |
download | gcc-f4648ed13904dcf3fc8af24896055843b46b2d96.zip gcc-f4648ed13904dcf3fc8af24896055843b46b2d96.tar.gz gcc-f4648ed13904dcf3fc8af24896055843b46b2d96.tar.bz2 |
Restore original scattering when the transform is not legal.
2009-08-05 Sebastian Pop <sebastian.pop@amd.com>
* graphite-blocking.c (scop_do_strip_mine): Call store_scattering.
Early return without analyzing the data dependences if no
transform has been done. Call restore_scattering if the transform
is not legal.
(graphite-interchange.c): Same.
* graphite-poly.c (print_scattering_function): Test for PBB_TRANSFORMED.
(graphite_read_transforms): Initialize PBB_TRANSFORMED.
(apply_poly_transforms): Do not gcc_assert that
the transform is legal.
(new_poly_bb): Initialize PBB_TRANSFORMED, PBB_SAVED, and PBB_ORIGINAL.
Do not initialize PBB_NB_SCATTERING_TRANSFORM, PBB_NB_LOCAL_VARIABLES,
PBB_TRANSFORMED_SCATTERING, and PBB_ORIGINAL_SCATTERING.
(free_poly_dr): Free PBB_TRANSFORMED, PBB_SAVED, and PBB_ORIGINAL.
* graphite-poly.h (struct poly_scattering): New.
(struct poly_bb): Add original, transformed, and saved fields.
Remove transformed_scattering, original_scattering, nb_local_variables,
and nb_scattering_transform fields.
(PBB_ORIGINAL, PBB_TRANSFORMED, PBB_SAVED): New.
(poly_scattering_new): New.
(poly_scattering_free): New.
(poly_scattering_copy): New.
(store_scattering_pbb): New.
(store_scattering): New.
(restore_scattering_pbb): New.
(restore_scattering): New.
* graphite-sese-to-poly.c (build_pbb_scattering_polyhedrons):
Initialize PBB_TRANSFORMED and PBB_ORIGINAL.
From-SVN: r150686
Diffstat (limited to 'gcc/java/java-tree.h')
0 files changed, 0 insertions, 0 deletions