1. 25 Jan, 2011 14 commits
    • spop's avatar
      Relax the definition of same_pdr_p. · a0630a8d
      spop authored
      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
      a0630a8d
    • spop's avatar
      Pass 0 as the number of parameters to PIP when testing for integer feasibility. · 07141610
      spop authored
      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
      07141610
    • spop's avatar
      Remove the temporary array for reductions written to memory. · 53b5bc41
      spop authored
      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
      53b5bc41
    • spop's avatar
      Expect at least the version 0.11 of PPL. · 11ce391e
      spop authored
      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
      11ce391e
    • spop's avatar
      Minimize the number of expensive calls to ppl_powerset_is_empty. · 1877ea6b
      spop authored
      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
      1877ea6b
    • spop's avatar
      Use PIP to determine the integer feasibility of a constraint system. · b40e3432
      spop authored
      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
      b40e3432
    • spop's avatar
      Correct the precedence relation. · 37578f49
      spop authored
      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
      37578f49
    • spop's avatar
      speedup compilation · c4b17226
      spop authored
      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
      c4b17226
    • spop's avatar
      Fix pbb_remove_duplicate_pdrs. · eb165288
      spop authored
      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
      eb165288
    • spop's avatar
      Test the profitability of interchange on the perfect nest. · 8f1020f8
      spop authored
      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
      8f1020f8
    • spop's avatar
      Print the data dependence polyhedron in the PPL format. · a3936cf6
      spop authored
      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
      a3936cf6
    • spop's avatar
      Add debug_gmp_value. · f093228e
      spop authored
      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
      f093228e
    • spop's avatar
      Document availability of cloog-0.16 · 20ec32e2
      spop authored
      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
      20ec32e2
    • spop's avatar
      Free invalid postdominance info. · 2acf5550
      spop authored
      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
      2acf5550
  2. 24 Jan, 2011 9 commits
  3. 23 Jan, 2011 2 commits
  4. 22 Jan, 2011 10 commits
  5. 21 Jan, 2011 5 commits
    • aoliva's avatar
      PR debug/47402 · 81598b62
      aoliva authored
      Temporarily revert:
      2011-01-21  Alexandre Oliva  <aoliva@redhat.com>
      PR debug/47106
      * tree-dfa.c (create_var_ann): Mark variable as used.
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@169107 138bc75d-0d04-0410-961f-82ee72b054a4
      81598b62
    • jakub's avatar
      PR middle-end/45566 · e30ff7b1
      jakub authored
      	* except.c (convert_to_eh_region_ranges): Emit queued no-region
      	notes from other section in hot/cold partitioning even if
      	last_action is -3.  Increment call_site_base.
      
      	* g++.dg/tree-prof/partition3.C: New test.
      
      	* g++.dg/tree-prof/tree-prof.exp: Fix a comment.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@169101 138bc75d-0d04-0410-961f-82ee72b054a4
      e30ff7b1
    • jakub's avatar
      PR rtl-optimization/47366 · f9460785
      jakub authored
      	* fwprop.c (forward_propagate_into): Return bool.  If
      	any changes are made, -fnon-call-exceptions is used and
      	REG_EH_REGION note is present, call purge_dead_edges
      	and return true if it purged anything.
      	(fwprop_addr): Adjust callers, call cleanup_cfg (0) if
      	any EH edges were purged.
      
      	* g++.dg/opt/pr47366.C: New test.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@169100 138bc75d-0d04-0410-961f-82ee72b054a4
      f9460785
    • law's avatar
      · 0268f1d4
      law authored
      	PR rtl-optimization/41619
      	* caller-save.c (setup_save_areas): Break out code to determine
      	which hard regs are live across calls by examining the reload chains
      	so that it is always used.
      	Eliminate code which checked REG_N_CALLS_CROSSED.
      
      	PR rtl-optimization/41619
      	* gcc.dg/pr41619.c: New.
      
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@169095 138bc75d-0d04-0410-961f-82ee72b054a4
      0268f1d4
    • jakub's avatar
      PR tree-optimization/47355 · 6e21b2e0
      jakub authored
      	* tree-eh.c (cleanup_empty_eh_merge_phis): Give up if
      	NOP has non-debug uses beyond PHIs in new_bb.
      
      	* g++.dg/opt/pr47355.C: New test.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@169094 138bc75d-0d04-0410-961f-82ee72b054a4
      6e21b2e0