summaryrefslogtreecommitdiff
path: root/gcc/ChangeLog.graphite
Commit message (Collapse)AuthorAgeFilesLines
* Only update ChangeLog.graphite.spop2011-07-081-0/+22
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@176058 138bc75d-0d04-0410-961f-82ee72b054a4
* Remove continue from loop, add one more assert.spop2011-07-081-0/+5
| | | | | | | | | 2011-07-08 Sebastian Pop <sebastian.pop@amd.com> * graphite-dependences.c (build_alias_set_powerset): Remove continue from loop, add one more assert. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@176057 138bc75d-0d04-0410-961f-82ee72b054a4
* Only update ChangeLog.graphite.spop2011-07-081-0/+27
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@176056 138bc75d-0d04-0410-961f-82ee72b054a4
* Add testcase for PR43567.spop2011-01-251-0/+5
| | | | | | | | | 2011-01-25 Sebastian Pop <sebastian.pop@amd.com> PR tree-optimization/43567 * gcc.dg/graphite/pr43567.c: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@169252 138bc75d-0d04-0410-961f-82ee72b054a4
* Do not use a data ref with indices invalid in the loop of the close_phi.spop2011-01-251-0/+9
| | | | | | | | | | | | | 2011-01-25 Sebastian Pop <sebastian.pop@amd.com> * graphite-sese-to-poly.c (dr_indices_valid_in_loop): New. (close_phi_written_to_memory): Call for_each_index with dr_indices_valid_in_loop. * gfortran.dg/graphite/id-24.f: New. * gfortran.dg/graphite/id-25.f: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@169220 138bc75d-0d04-0410-961f-82ee72b054a4
* Only copy PBB_DOMAIN when it is initialized.spop2011-01-251-0/+7
| | | | | | | | | | | 2011-01-25 Sebastian Pop <sebastian.pop@amd.com> * graphite-sese-to-poly.c (new_pbb_from_pbb): Only copy PBB_DOMAIN when it is initialized. * gfortran.dg/graphite/id-23.f: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@169219 138bc75d-0d04-0410-961f-82ee72b054a4
* Pass to dr_analyze_indices the analysis loop for subscripts.spop2011-01-251-0/+19
| | | | | | | | | | | | | | | | | | | | | | | 2011-01-25 Sebastian Pop <sebastian.pop@amd.com> * graphite-scop-detection.c (stmt_has_simple_data_refs_p): Update call to graphite_find_data_references_in_stmt. * graphite-sese-to-poly.c (outermost_loop_in_sese_1): New. (try_generate_gimple_bb): Call outermost_loop_in_sese_1. Update call to graphite_find_data_references_in_stmt. (analyze_drs_in_stmts): Same. * tree-data-ref.c (dr_analyze_indices): Pass in parameter the loop in which the scalar analysis of indices is performed. (create_data_ref): Same. Update call to dr_analyze_indices. (find_data_references_in_stmt): Update call to create_data_ref. (graphite_find_data_references_in_stmt): Same. * tree-data-ref.h (graphite_find_data_references_in_stmt): Update declaration. (create_data_ref): Same. * tree-ssa-loop-prefetch.c (determine_loop_nest_reuse): Update call to create_data_ref. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@169218 138bc75d-0d04-0410-961f-82ee72b054a4
* Move rewrite_commutative_reductions_out_of_ssa before find_scop_parameters.spop2011-01-251-0/+6
| | | | | | | | | | 2011-01-25 Sebastian Pop <sebastian.pop@amd.com> * graphite-sese-to-poly.c (build_poly_scop): Move rewrite_commutative_reductions_out_of_ssa before find_scop_parameters. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@169217 138bc75d-0d04-0410-961f-82ee72b054a4
* Patch not merged, update ChangeLog.graphite.spop2011-01-251-0/+30
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@169216 138bc75d-0d04-0410-961f-82ee72b054a4
* Patch not merged, update ChangeLog.graphite.spop2011-01-251-0/+107
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@169214 138bc75d-0d04-0410-961f-82ee72b054a4
* Do not create the temporary array for reductions into VAR_DECL, PARM_DECL, ↵spop2011-01-251-0/+7
| | | | | | | | | | | | | and RESULT_DECL. 2011-01-25 Sebastian Pop <sebastian.pop@amd.com> * graphite-sese-to-poly.c (close_phi_written_to_memory): Also allow VAR_DECL, PARM_DECL, and RESULT_DECL. * gfortran.dg/graphite/interchange-3.f90: Un-XFAILed. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@169213 138bc75d-0d04-0410-961f-82ee72b054a4
* Allow several reductions in a reduction PBB.spop2011-01-251-0/+7
| | | | | | | | | | | 2011-01-25 Sebastian Pop <sebastian.pop@amd.com> * graphite-dependences.c (reduction_dr_1): Allow several reductions in a reduction PBB. * graphite-sese-to-poly.c (split_reduction_stmt): Do not split PBBs that have already been marked as PBB_IS_REDUCTION. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@169212 138bc75d-0d04-0410-961f-82ee72b054a4
* Remove duplicate close phi nodes in the canonical close phi representation.spop2011-01-251-0/+7
| | | | | | | | | | | 2011-01-25 Sebastian Pop <sebastian.pop@amd.com> * graphite-scop-detection.c (same_close_phi_node): New. (remove_duplicate_close_phi): New. (make_close_phi_nodes_unique): New. (canonicalize_loop_closed_ssa): Call make_close_phi_nodes_unique. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@169211 138bc75d-0d04-0410-961f-82ee72b054a4
* Relax the definition of same_pdr_p.spop2011-01-251-0/+6
| | | | | | | | | | 2011-01-25 Sebastian Pop <sebastian.pop@amd.com> * graphite-dependences.c (new_poly_ddr): Call same_pdr_p. * graphite-poly.h (same_pdr_p): Do not expect that the PDR_TYPE of both data references to be the same. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@169210 138bc75d-0d04-0410-961f-82ee72b054a4
* Pass 0 as the number of parameters to PIP when testing for integer feasibility.spop2011-01-251-0/+11
| | | | | | | | | | | | | | | 2011-01-25 Sebastian Pop <sebastian.pop@amd.com> * graphite-dependences.c (build_lexicographical_constraint): Remove the gdim parameter. (build_lexicographical_constraint): Adjust call to ppl_powerset_is_empty. (dependence_polyhedron): Same. (graphite_legal_transform_dr): Same. (graphite_carried_dependence_level_k): Same. * graphite-ppl.c (ppl_powerset_is_empty): Remove the nb_params parameter. * graphite-ppl.h (ppl_powerset_is_empty): Adjust declaration. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@169209 138bc75d-0d04-0410-961f-82ee72b054a4
* Remove the temporary array for reductions written to memory.spop2011-01-251-0/+18
| | | | | | | | | | | | | | | | | | | | | | 2011-01-25 Sebastian Pop <sebastian.pop@amd.com> * graphite-sese-to-poly.c (translate_scalar_reduction_to_array_for_stmt): Call unshare_expr. (close_phi_written_to_memory): New. (translate_scalar_reduction_to_array): Call close_phi_written_to_memory and unshare_expr. * gcc.dg/graphite/block-0.c: Un-XFAILed. * gcc.dg/graphite/block-1.c: Un-XFAILed. * gcc.dg/graphite/block-7.c: Un-XFAILed. * gcc.dg/graphite/block-8.c: Un-XFAILed. * gcc.dg/graphite/interchange-12.c: Un-XFAILed. * gcc.dg/graphite/interchange-14.c: Un-XFAILed. * gcc.dg/graphite/interchange-15.c: Un-XFAILed. * gcc.dg/graphite/interchange-8.c: Un-XFAILed. * gcc.dg/graphite/interchange-mvt.c: Un-XFAILed. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@169208 138bc75d-0d04-0410-961f-82ee72b054a4
* Expect at least the version 0.11 of PPL.spop2011-01-251-0/+6
| | | | | | | | | | | | | | | 2011-01-25 Sebastian Pop <sebastian.pop@amd.com> toplev/ * configure: Regenerated. * configure.ac: Check for version 0.11 (or later revision) of PPL. toplev/gcc/ * doc/install.texi: Update the expected version number of PPL to 0.11. * graphite-ppl.c (ppl_powerset_is_empty): Remove now dead code under #if PPL_VERSION_MINOR < 11. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@169207 138bc75d-0d04-0410-961f-82ee72b054a4
* Minimize the number of expensive calls to ppl_powerset_is_empty.spop2011-01-251-0/+17
| | | | | | | | | | | | | | | | | | | | | | | 2011-01-25 Sebastian Pop <sebastian.pop@amd.com> * graphite-dependences.c: Include graphite-cloog-util.h. (new_poly_ddr): Inlined into dependence_polyhedron. (free_poly_ddr): Moved close by new_poly_ddr. (dependence_polyhedron_1): Renamed dependence_polyhedron. Early return NULL when ppl_powerset_is_empty returns true. (dependence_polyhedron): Renamed new_poly_ddr. Call only once poly_drs_may_alias_p. Avoid one call to ppl_powerset_is_empty. (graphite_legal_transform_dr): Call new_poly_ddr. (graphite_carried_dependence_level_k): Same. (dot_original_deps_stmt_1): Renamed dot_deps_stmt_2. Use new_poly_ddr. (dot_transformed_deps_stmt_1): Removed. (dot_deps_stmt_1): Call dot_deps_stmt_2. (dot_original_deps): Renamed dot_deps_2. Call new_poly_ddr. (dot_deps_1): Call dot_deps_2. * Makefile.in (graphite-dependences.o): Add missing dependence on graphite-cloog-util.h. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@169206 138bc75d-0d04-0410-961f-82ee72b054a4
* Use PIP to determine the integer feasibility of a constraint system.spop2011-01-251-0/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2011-01-25 Sebastian Pop <sebastian.pop@amd.com> * graphite-dependences.c (new_poly_dr): Call ppl_powerset_is_empty. (build_lexicographical_constraint): Same. (dependence_polyhedron_1): Same. (graphite_legal_transform_dr): Same. (graphite_carried_dependence_level_k): Same. * graphite-ppl.c (ppl_powerset_is_empty): New. * graphite-ppl.h (ppl_powerset_is_empty): Declared. * tree-data-ref.c (dump_data_reference): Print the basic block index. * gcc.dg/graphite/block-0.c: Add documentation. * gcc.dg/graphite/block-4.c: Same. * gcc.dg/graphite/block-7.c: Same. * gcc.dg/graphite/block-8.c: New. * gcc.dg/graphite/interchange-1.c: Un-XFAILed. * gcc.dg/graphite/interchange-11.c: Un-XFAILed. * gcc.dg/graphite/interchange-12.c: Add documentation. * gcc.dg/graphite/interchange-13.c: New. * gcc.dg/graphite/interchange-14.c: New. * gcc.dg/graphite/interchange-15.c: New. * gcc.dg/graphite/interchange-8.c: Add documentation. * gcc.dg/graphite/interchange-mvt.c: Same. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@169205 138bc75d-0d04-0410-961f-82ee72b054a4
* Correct the precedence relation.spop2011-01-251-0/+5
| | | | | | | | | 2011-01-25 Sebastian Pop <sebastian.pop@amd.com> * graphite-dependences.c (build_pairwise_scheduling): Correctly compute the "a followed by b" relation and document it. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@169204 138bc75d-0d04-0410-961f-82ee72b054a4
* speedup compilationspop2011-01-251-0/+5
| | | | | | | | | 2011-01-25 Sebastian Pop <sebastian.pop@amd.com> * graphite-dependences.c (build_lexicographical_constraint): Stop the iteration when the bag of constraints is empty. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@169203 138bc75d-0d04-0410-961f-82ee72b054a4
* Fix pbb_remove_duplicate_pdrs.spop2011-01-251-0/+4
| | | | | | | | 2011-01-25 Sebastian Pop <sebastian.pop@amd.com> * graphite-poly.c (pbb_remove_duplicate_pdrs): Make it work. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@169202 138bc75d-0d04-0410-961f-82ee72b054a4
* Test the profitability of interchange on the perfect nest.spop2011-01-251-0/+7
| | | | | | | | | | | 2011-01-25 Sebastian Pop <sebastian.pop@amd.com> * graphite-interchange.c (lst_interchange_profitable_p): Takes a loop nest and two loop depths as parameters. (lst_try_interchange_loops): Call lst_interchange_profitable_p after lst_perfect_nestify. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@169201 138bc75d-0d04-0410-961f-82ee72b054a4
* Print the data dependence polyhedron in the PPL format.spop2011-01-251-0/+5
| | | | | | | | | 2011-01-25 Sebastian Pop <sebastian.pop@amd.com> * graphite-dependences.c (print_pddr): Call ppl_io_fprint_Pointset_Powerset_C_Polyhedron. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@169200 138bc75d-0d04-0410-961f-82ee72b054a4
* Add debug_gmp_value.spop2011-01-251-0/+5
| | | | | | | | | 2011-01-25 Sebastian Pop <sebastian.pop@amd.com> * graphite-ppl.c (debug_gmp_value): New. * graphite-ppl.h (debug_gmp_value): Declared. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@169199 138bc75d-0d04-0410-961f-82ee72b054a4
* Document availability of cloog-0.16spop2011-01-251-0/+4
| | | | | | | | 2011-01-25 Tobias Grosser <grosser@fim.uni-passau.de> * doc/install.texi: Document availability of cloog-0.16. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@169197 138bc75d-0d04-0410-961f-82ee72b054a4
* Patch not merged, update ChangeLog.graphite.spop2011-01-251-0/+9
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@169196 138bc75d-0d04-0410-961f-82ee72b054a4
* Patch not merged, update ChangeLog.graphite.spop2011-01-251-0/+5
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@169195 138bc75d-0d04-0410-961f-82ee72b054a4
* Free invalid postdominance info.spop2011-01-251-0/+5
| | | | | | | | | 2011-01-25 Vladimir Kargov <kargov@gmail.com> * graphite-scop-detection.c (canonicalize_loop_closed_ssa): Free invalid postdominance info. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@169194 138bc75d-0d04-0410-961f-82ee72b054a4
* Add changelogs of patches that will not be merged to trunk.spop2011-01-251-0/+126
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@169193 138bc75d-0d04-0410-961f-82ee72b054a4
* Fix PR47021: ADDR_EXPRs don't contain SCoP parameters.spop2011-01-031-0/+5
| | | | | | | | | 2011-01-03 Sebastian Pop <sebastian.pop@amd.com> PR tree-optimization/47021 * graphite-sese-to-poly.c (scan_tree_for_params): Handle ADDR_EXPR. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168433 138bc75d-0d04-0410-961f-82ee72b054a4
* Fix unused warnings.spop2010-12-011-0/+6
| | | | | | | | | | 2010-11-26 Sebastian Pop <sebastian.pop@amd.com> * graphite-sese-to-poly.c (analyze_drs_in_stmts): Fix set but unused warning. (rewrite_cross_bb_scalar_deps_out_of_ssa): Same. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@167351 138bc75d-0d04-0410-961f-82ee72b054a4
* Avoid the analysis of data references after the translation out of SSA.spop2010-12-011-0/+14
| | | | | | | | | | | | | | | | | | 2010-11-26 Sebastian Pop <sebastian.pop@amd.com> * graphite-sese-to-poly.c (analyze_drs): Removed. (build_scop_drs): Do not call analyze_drs. (analyze_drs_in_stmts): New. (insert_stmts): New. (insert_out_of_ssa_copy): Call analyze_drs_in_stmts. (insert_out_of_ssa_copy_on_edge): Same. (rewrite_close_phi_out_of_ssa): Call insert_stmts. (rewrite_phi_out_of_ssa): Same. (rewrite_cross_bb_scalar_dependence): Same. (split_reduction_stmt): Move data references in the new basic blocks. (translate_scalar_reduction_to_array_for_stmt): Call insert_stmts. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@167350 138bc75d-0d04-0410-961f-82ee72b054a4
* LHS cannot be an ADDR_EXPR.spop2010-12-011-0/+4
| | | | | | | | 2010-11-26 Sebastian Pop <sebastian.pop@amd.com> * sese.c (rename_uses): Do not handle ADDR_EXPR in LHS of assignments. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@167349 138bc75d-0d04-0410-961f-82ee72b054a4
* Postpone the rewrite out of SSA to the end of the translation to polyhedral ↵spop2010-12-011-0/+55
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | representation. 2010-11-22 Sebastian Pop <sebastian.pop@amd.com> PR middle-end/45297 * graphite-poly.c (new_poly_bb): Returns a poly_bb_p. Do not take the reduction bool in parameter. Clear PBB_IS_REDUCTION. Set GBB_PBB. * graphite-poly.h (new_poly_bb): Update declaration. (gbb_from_bb): Moved here... (pbb_from_bb): New. * graphite-sese-to-poly.c (var_used_in_not_loop_header_phi_node): Removed. (graphite_stmt_p): Removed. (try_generate_gimple_bb): Returns a gimple_bb_p. Do not pass in sbitmap reductions. Always build a gimple_bb_p. Do not call new_poly_bb. (build_scop_bbs_1): Do not pass in sbitmap reductions. (build_scop_bbs): Same. (gbb_from_bb): ... from here. (add_conditions_to_constraints): Moved up. (analyze_drs): New. (build_scop_drs): Call analyze_drs. Remove all the PBBs that do not contain data references. (new_pbb_from_pbb): New. (insert_out_of_ssa_copy_on_edge): Call new_pbb_from_pbb after a block is split. (rewrite_close_phi_out_of_ssa): Update call to insert_out_of_ssa_copy_on_edge. (rewrite_reductions_out_of_ssa): Now static. (rewrite_cross_bb_scalar_deps_out_of_ssa): Same. (split_pbb): New. (split_reduction_stmt): Call split_pbb. (translate_scalar_reduction_to_array): Pass in the scop, do not pass in the sbitmap reductions. (rewrite_commutative_reductions_out_of_ssa_close_phi): Same. (rewrite_commutative_reductions_out_of_ssa_loop): Same. (rewrite_commutative_reductions_out_of_ssa): Same. (build_poly_scop): Call build_scop_bbs, rewrite_commutative_reductions_out_of_ssa, rewrite_reductions_out_of_ssa, and rewrite_cross_bb_scalar_deps_out_of_ssa. Move build_scop_drs before scop_to_lst. * graphite-sese-to-poly.h (rewrite_commutative_reductions_out_of_ssa): Removed declaration. (rewrite_reductions_out_of_ssa): Same. (rewrite_cross_bb_scalar_deps_out_of_ssa): Same. (build_scop_bbs): Same. * graphite.c (graphite_transform_loops): Do not initialize reductions. Do not call build_scop_bbs, rewrite_commutative_reductions_out_of_ssa, rewrite_reductions_out_of_ssa, and rewrite_cross_bb_scalar_deps_out_of_ssa. * sese.h (struct gimple_bb): Add field pbb. (GBB_PBB): New. * gcc.dg/graphite/pr45297.c: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@167348 138bc75d-0d04-0410-961f-82ee72b054a4
* Do not rewrite out of SSA scalar dependences crossing the limits of the scop.spop2010-12-011-0/+9
| | | | | | | | | | | | | 2010-11-22 Sebastian Pop <sebastian.pop@amd.com> * graphite-sese-to-poly.c (handle_scalar_deps_crossing_scop_limits): New. (rewrite_cross_bb_scalar_deps): Pass in the scop. Call handle_scalar_deps_crossing_scop_limits. (rewrite_cross_bb_scalar_deps_out_of_ssa): Create an empty BB after the scop. Update call to rewrite_cross_bb_scalar_deps. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@167347 138bc75d-0d04-0410-961f-82ee72b054a4
* Call recompute_tree_invariant_for_addr_expr when replacing a constant in an ↵spop2010-12-011-0/+5
| | | | | | | | | | | ADDR_EXPR. 2010-11-22 Sebastian Pop <sebastian.pop@amd.com> * sese.c (rename_uses): Call recompute_tree_invariant_for_addr_expr when replacing a constant in an ADDR_EXPR. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@167346 138bc75d-0d04-0410-961f-82ee72b054a4
* Add a stride parameter to scop_do_strip_mine.spop2010-12-011-0/+10
| | | | | | | | | | | | | | 2010-10-20 Sebastian Pop <sebastian.pop@amd.com> * graphite-blocking.c (lst_do_strip_mine_loop): Extra parameter for the stride. (lst_do_strip_mine): Same. (scop_do_strip_mine): Same. * graphite-poly.c (apply_poly_transforms): Update call to scop_do_strip_mine. * graphite-poly.h (scop_do_strip_mine): Update declaration. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@167345 138bc75d-0d04-0410-961f-82ee72b054a4
* Fix PR45758: reset scevs before Graphite.spop2010-09-301-0/+5
| | | | | | | | | 2010-09-24 Sebastian Pop <sebastian.pop@amd.com> PR middle-end/45758 * graphite.c (graphite_initialize): Call scev_reset. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@164813 138bc75d-0d04-0410-961f-82ee72b054a4
* Fix miscompilation of 416.gamess.spop2010-09-301-0/+5
| | | | | | | | | 2010-09-23 Sebastian Pop <sebastian.pop@amd.com> * sese.h (scev_analyzable_p): Return false for real or floating point. Only handle INTEGRAL_TYPE_P and POINTER_TYPE_P. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@164812 138bc75d-0d04-0410-961f-82ee72b054a4
* Add testcase for PR45758.spop2010-09-301-0/+5
| | | | | | | | | 2010-09-23 Sebastian Pop <sebastian.pop@amd.com> PR middle-end/45758 * gfortran.dg/graphite/pr45758.f90: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@164811 138bc75d-0d04-0410-961f-82ee72b054a4
* Fix memory leaks in new scop detection.spop2010-09-301-0/+4
| | | | | | | | 2010-09-23 Sebastian Pop <sebastian.pop@amd.com> * graphite-scop-detection.c (is_scop_p): Free bblist. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@164810 138bc75d-0d04-0410-961f-82ee72b054a4
* Fix Graphite memory leaks.spop2010-09-301-0/+9
| | | | | | | | | | | | | 2010-09-23 Sebastian Pop <sebastian.pop@amd.com> * graphite-clast-to-gimple.c (compute_bounds_for_level): Free le and ps. * graphite-poly.c (pbb_number_of_iterations_at_time): Free le and domain. * graphite-sese-to-poly.c (add_upper_bounds_from_estimated_nit): Do not allocate ub_expr, it is passed in initialized. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@164809 138bc75d-0d04-0410-961f-82ee72b054a4
* New flag: -fgraphite-dump-cloog.spop2010-09-301-0/+21
| | | | | | | | | | | | | | | | | | | | Introduce a new flag: -fgraphite-dump-cloog. If enabled, graphite dumps each SCoP into a CLooG input file for further debugging. The naming follows the naming scheme of -fgraphite-write: <basename>.<scopnumber>.cloog The file is dumped into the current working directory. 2010-09-16 Andreas Simbuerger <simbuerg@fim.uni-passau.de> * common.opt (fgraphite-dump-cloog): New flag. * doc/invoke.texi (-fgraphite-dump-cloog): Documented. * graphite-clast-to-gimple.c (init_cloog_input_file): New. (build_cloog_prog): Dump CLooG input file when flag_graphite_dump_cloog is set. * graphite-cloog-compat.h (cloog_program_dump_cloog): New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@164808 138bc75d-0d04-0410-961f-82ee72b054a4
* CDI_POST_DOMINATORS are not used in Graphite.spop2010-09-301-0/+9
| | | | | | | | | | | | | 2010-09-20 Sebastian Pop <sebastian.pop@amd.com> * graphite-clast-to-gimple.c (graphite_verify): Remove call to verify_dominators for CDI_POST_DOMINATORS. * sese.h: Remove comment about CDI_POST_DOMINATORS. (recompute_all_dominators): Remove call to free_dominance_info for CDI_POST_DOMINATORS. Remove call to calculate_dominance_info for CDI_POST_DOMINATORS. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@164807 138bc75d-0d04-0410-961f-82ee72b054a4
* Only iterate over pbb_dim_iter_domain.spop2010-09-301-0/+5
| | | | | | | | | 2010-09-09 Sebastian Pop <sebastian.pop@amd.com> * graphite-poly.c (pbb_number_of_iterations_at_time): Only iterate over pbb_dim_iter_domain. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@164806 138bc75d-0d04-0410-961f-82ee72b054a4
* Fix comments.spop2010-09-301-0/+4
| | | | | | | | 2010-09-09 Sebastian Pop <sebastian.pop@amd.com> * graphite-flattening.c: Fix comments. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@164805 138bc75d-0d04-0410-961f-82ee72b054a4
* New pass: loop flattening.spop2010-09-301-0/+13
| | | | | | | | | | | | | | | | | 2010-09-09 Sebastian Pop <sebastian.pop@amd.com> * Makefile.in (OBJS-common): Add graphite-flattening.o. (graphite-flattening.o): New rule. * common.opt (floop-flatten): New flag. * doc/invoke.texi (-floop-flatten): Documented. * graphite-flattening.c: New. * graphite-poly.c (apply_poly_transforms): Call flatten_all_loops. * graphite-poly.h (flatten_all_loops): Declared. (lst_remove_loop_and_inline_stmts_in_loop_father): New. * tree-ssa-loop.c (gate_graphite_transforms): When flag_loop_flatten is set, also set flag_graphite. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@164804 138bc75d-0d04-0410-961f-82ee72b054a4
* Add cloog_checksum.spop2010-09-301-0/+5
| | | | | | | | | 2010-09-09 Sebastian Pop <sebastian.pop@amd.com> * graphite-poly.c (cloog_checksum): New. * graphite-poly.h (cloog_checksum): Declared. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@164803 138bc75d-0d04-0410-961f-82ee72b054a4
* Fix pbb_number_of_iterations_at_time.spop2010-09-301-0/+7
| | | | | | | | | | | 2010-09-09 Sebastian Pop <sebastian.pop@amd.com> * graphite-poly.c (pbb_number_of_iterations): Removed. (pbb_number_of_iterations_at_time): Correctly compute the number of iterations in the transformed loop. * graphite-poly.h (pbb_number_of_iterations): Removed. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@164802 138bc75d-0d04-0410-961f-82ee72b054a4