1. 01 Oct, 2010 18 commits
  2. 30 Sep, 2010 22 commits
    • Replace FLOAT_MIN, FLOAT_MAX to __FLT_MIN__, __FLT_MAX__. · 0e247093
      From-SVN: r164816
      Michael Eager committed
    • configure.ac: Check for Solaris 8 ld with .hidden support. · 319840d3
      	* configure.ac: Check for Solaris 8 ld with .hidden support.
      	* configure: Regenerate.
      
      From-SVN: r164815
      Rainer Orth committed
    • Adjust failing testsuite pattern. · 89d5c66f
      2010-09-30  Sebastian Pop  <sebastian.pop@amd.com>
      
      	* testsuite/libgomp.graphite/force-parallel-1.c: Adjust.
      
      From-SVN: r164814
      Sebastian Pop committed
    • Fix PR45758: reset scevs before Graphite. · cdb9802c
      2010-09-24  Sebastian Pop  <sebastian.pop@amd.com>
      
      	PR middle-end/45758
      	* graphite.c (graphite_initialize): Call scev_reset.
      
      From-SVN: r164813
      Sebastian Pop committed
    • Fix miscompilation of 416.gamess. · 8ba78f92
      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.
      
      From-SVN: r164812
      Sebastian Pop committed
    • Add testcase for PR45758. · 99e55749
      2010-09-23  Sebastian Pop  <sebastian.pop@amd.com>
      
      	PR middle-end/45758
      	* gfortran.dg/graphite/pr45758.f90: New.
      
      From-SVN: r164811
      Sebastian Pop committed
    • Fix memory leaks in new scop detection. · a72b79fb
      2010-09-23  Sebastian Pop  <sebastian.pop@amd.com>
      
      	* graphite-scop-detection.c (is_scop_p): Free bblist.
      
      From-SVN: r164810
      Sebastian Pop committed
    • Fix Graphite memory leaks. · cb5f9ec6
      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.
      
      From-SVN: r164809
      Sebastian Pop committed
    • New flag: -fgraphite-dump-cloog. · 03c830c2
      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.
      
      From-SVN: r164808
      Sebastian Pop committed
    • CDI_POST_DOMINATORS are not used in Graphite. · 61c6973f
      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.
      
      From-SVN: r164807
      Sebastian Pop committed
    • Only iterate over pbb_dim_iter_domain. · aad78a1a
      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.
      
      From-SVN: r164806
      Sebastian Pop committed
    • Fix comments. · 26315ccf
      2010-09-09  Sebastian Pop  <sebastian.pop@amd.com>
      
      	* graphite-flattening.c: Fix comments.
      
      From-SVN: r164805
      Sebastian Pop committed
    • New pass: loop flattening. · 98af4c9f
      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.
      
      From-SVN: r164804
      Sebastian Pop committed
    • Add cloog_checksum. · c498b9b9
      2010-09-09  Sebastian Pop  <sebastian.pop@amd.com>
      
      	* graphite-poly.c (cloog_checksum): New.
      	* graphite-poly.h (cloog_checksum): Declared.
      
      From-SVN: r164803
      Sebastian Pop committed
    • Fix pbb_number_of_iterations_at_time. · 26ccb556
      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.
      
      From-SVN: r164802
      Sebastian Pop committed
    • Fix lst_update_scattering. · b8745012
      2010-09-09  Sebastian Pop  <sebastian.pop@amd.com>
      
      	* graphite-poly.h (lst_update_scattering_seq): Removed.
      	(lst_update_scattering): Correctly handle outermost loop dewey
      	renumbering.
      
      From-SVN: r164801
      Sebastian Pop committed
    • Outline lst_niter_for_loop. · 22280f63
      2010-09-09  Sebastian Pop  <sebastian.pop@amd.com>
      
      	* graphite-blocking.c (pbb_strip_mine_profitable_p): Renamed
      	lst_strip_mine_profitable_p.  Call lst_niter_for_loop.
      	* graphite-poly.h (lst_niter_for_loop): New.
      
      From-SVN: r164800
      Sebastian Pop committed
    • Call fatal_error when the transform read from file is not legal. · 6eb412ef
      2010-09-09  Sebastian Pop  <sebastian.pop@amd.com>
      
      	* graphite-poly.c (apply_poly_transforms): Do not abort when the
      	transform read from disk is not legal.  Call fatal_error instead.
      
      From-SVN: r164799
      Sebastian Pop committed
    • Fix pretty printers. · 0ba82567
      2010-09-09  Sebastian Pop  <sebastian.pop@amd.com>
      
      	* graphite-poly.c (print_pbb_body): Add missing closing parenthesis.
      	(print_scop_header): Removed.  Inlined in the only call place...
      	(print_scop): ... here.
      
      From-SVN: r164798
      Sebastian Pop committed
    • Use FOR_EACH_VEC_ELT. · 69ac2bb6
      2010-09-09  Sebastian Pop  <sebastian.pop@amd.com>
      
      	* graphite-poly.h (lst_dewey_number): Use FOR_EACH_VEC_ELT.
      
      From-SVN: r164797
      Sebastian Pop committed
    • New SCoPDetection detects first SCoPs. · 0706c754
      2010-09-02  Vladimir Kargov  <kargov@gmail.com>
      
      	* graphite-scop-detection.c (is_valid_expr_p, is_valid_loop_p): New.
      	(is_valid_stmt_p): Add data reference and operation-specific checks.
      	(is_valid_bb_p): Change structure, add loop validity check.
      	(is_scop_p): Move the TODO list
      	(find_scops_new): New.
      	(build_scops_new): Move part of functionality to find_scops_new and
      	build_scops.  Add necessary steps for successful SCoP construction.
      	(build_scops): Compute SCoP sets for both detection algorithms, choose
      	the resulting one depending on static condition.
      
      From-SVN: r164796
      Vladimir Kargov committed
    • Fix uninitialize warning. · da8cebd1
      2010-08-24  Sebastian Pop  <sebastian.pop@amd.com>
      
      	* graphite-poly.c (graphite_read_scop_file): Fix uninitialize warning.
      
      From-SVN: r164795
      Sebastian Pop committed