+2009-08-15 Sebastian Pop <sebastian.pop@amd.com>
+
+ PR middle-end/40981
+ * graphite-ppl.c (ppl_max_for_le): Correct the use of
+ ppl_Pointset_Powerset_C_Polyhedron_maximize.
+
+2009-08-13 Sebastian Pop <sebastian.pop@amd.com>
+
+ * graphite-poly.c (print_pbb): Print PBB index.
+
+2009-08-13 Sebastian Pop <sebastian.pop@amd.com>
+
+ * Merge from mainline (r150672:150764).
+
+2009-08-13 Sebastian Pop <sebastian.pop@amd.com>
+
+ * graphite-interchange.c (ppl_max_for_le): Moved...
+ * graphite-poly.c (pbb_number_of_iterations): Call ppl_max_for_le.
+ * graphite-ppl.c (ppl_max_for_le): ... here.
+ * graphite-ppl.h (ppl_max_for_le): Declared.
+
+2009-08-12 Sebastian Pop <sebastian.pop@amd.com>
+
+ * Merge from mainline (r150372:150672).
+
+2009-08-11 Sebastian Pop <sebastian.pop@amd.com>
+
+ PR middle-end/40980
+ * sese.c (convert_for_phi_arg): New.
+ (add_guard_exit_phis): Use convert_for_phi_arg.
+
+ * testsuite/gfortran.dg/graphite/id-17.f: New.
+
+2009-08-11 Sebastian Pop <sebastian.pop@amd.com>
+
+ * graphite-sese-to-poly.c (pdr_add_data_dimensions): Dont add
+ unknown subscript upper bounds.
+
+ * testsuite/gcc.dg/graphite/interchange-6.c: Un-XFAIL.
+
+2009-08-11 Sebastian Pop <sebastian.pop@amd.com>
+ Pranav Garg <pranav.garg2107@gmail.com>
+
+ * graphite-interchange.c (gather_access_strides): Removed.
+ (ppl_max_for_le): New.
+ (build_linearized_memory_access): New.
+ (memory_stride_in_loop): New.
+ (pbb_interchange_profitable_p): Reimplemented.
+ * graphite-ppl.h (ppl_new_id_map): New.
+ (ppl_interchange): New.
+
+ * testsuite/gcc.dg/graphite/interchange-6.c: XFAILed.
+
+2009-08-11 Sebastian Pop <sebastian.pop@amd.com>
+
+ * graphite-interchange.c (compute_subscript): Removed.
+ (compute_array_size_cstr): Removed.
+ (compute_array_size_poly): Removed.
+ (compute_array_size): Removed.
+ (gather_access_strides_poly): Removed.
+ (gather_access_strides): Empty.
+
+2009-08-11 Sebastian Pop <sebastian.pop@amd.com>
+
+ * graphite-dependences.c (dependence_polyhedron_1): Replace
+ pdr_nb_subscripts with PDR_NB_SUBSCRIPTS.
+ (graphite_legal_transform_dr): Same.
+ (graphite_carried_dependence_level_k): Same.
+ * graphite-poly.c (new_poly_dr): Add a parameter nb_subscripts.
+ Initialize PDR_NB_SUBSCRIPTS.
+ (print_pdr_access_layout): Replace pdr_nb_subscripts with
+ PDR_NB_SUBSCRIPTS.
+ * graphite-poly.h (struct poly_dr): Add nb_subscripts field.
+ (PDR_NB_SUBSCRIPTS): New.
+ (pdr_nb_subscripts): Removed.
+ (pdr_dim): Simplified.
+ * graphite-sese-to-poly.c (build_poly_dr): Replace pdr_nb_subscripts
+ with PDR_NB_SUBSCRIPTS.
+
+2009-08-11 Sebastian Pop <sebastian.pop@amd.com>
+
+ * graphite-interchange.c (compute_array_size): Remove use of
+ PDR_DATA_CONTAINER.
+ * graphite-poly.c (new_poly_dr): Remove argument data_container.
+ Do not initialize PDR_DATA_CONTAINER.
+ (print_pdr): Do not print PDR_DATA_CONTAINER.
+ * graphite-poly.h (struct poly_dr): Remove data_container field.
+ (PDR_DATA_CONTAINER): Removed.
+ * graphite-sese-to-poly.c (pdr_add_data_dimensions): Remove use of
+ PDR_DATA_CONTAINER.
+ (build_poly_dr): Same.
+
+2009-08-11 Sebastian Pop <sebastian.pop@amd.com>
+
+ * testsuite/gcc.dg/graphite/interchange-9.c: New.
+
+2009-08-05 Konrad Trifunovic <konrad.trifunovic@gmail.com>
+ Sebastian Pop <sebastian.pop@amd.com>
+
+ * graphite-dependences.c (graphite_legal_transform_dr): Work on a
+ copy of the dependence polyhedron. Free the temporary objects.
+ (graphite_carried_dependence_level_k): Free unused objects before
+ returning.
+
+ * testsuite/gcc.dg/graphite/interchange-1.c: XFAILed.
+ * testsuite/gcc.dg/graphite/interchange-2.c: XFAILed.
+ * testsuite/gcc.dg/graphite/interchange-3.c: XFAILed.
+ * testsuite/gcc.dg/graphite/interchange-4.c: XFAILed.
+ * testsuite/gcc.dg/graphite/interchange-7.c: XFAILed.
+
+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.
+
+2009-08-05 Sebastian Pop <sebastian.pop@amd.com>
+
+ * graphite-poly.c (print_pbb): Add parentheses in the pretty print.
+ (print_scop): Same.
+
+2009-08-05 Sebastian Pop <sebastian.pop@amd.com>
+
+ * Makefile.in (graphite.o): Depends on PREDICT_H.
+ * graphite.c: Include predict.h.
+ (graphite_finalize): Call tree_estimate_probability.
+ * predict.c (predict_loops): Do not call scev_initialize and
+ scev_finalize.
+ (tree_estimate_probability_bb): New.
+ (tree_estimate_probability): Do not initialize loops: move that
+ code to the driver. Call tree_estimate_probability_bb.
+ (tree_estimate_probability_driver): New.
+ (pass_profile): Use tree_estimate_probability_driver.
+ * predict.h (tree_estimate_probability): Declared.
+
+2009-08-05 Sebastian Pop <sebastian.pop@amd.com>
+
+ * graphite-clast-to-gimple.c (gloog): Add time to TV_GRAPHITE_CODE_GEN.
+ * graphite-dependences.c (graphite_legal_transform): Add time to
+ TV_GRAPHITE_DATA_DEPS.
+ (dependency_between_pbbs_p): Same.
+ * timevar.def (TV_GRAPHITE_DATA_DEPS, TV_GRAPHITE_CODE_GEN): New.
+
+2009-08-03 Sebastian Pop <sebastian.pop@amd.com>
+
+ * Merge from mainline (r149952:150372).
+
2009-07-28 Sebastian Pop <sebastian.pop@amd.com>
* ChangeLog.graphite: Fix indenting, white spaces and 80 columns.