Commit 3cf0e270 by Sebastian Pop Committed by Sebastian Pop

Rename -fgraphite-force-parallel to -floop-parallelize-all.

2009-08-01  Sebastian Pop  <sebastian.pop@amd.com>

	* doc/invoke.texi (-fgraphite-force-parallel): Renamed
	-floop-parallelize-all.
	* toplev.c (process_options): Rename flag_graphite_force_parallel to
	flag_loop_parallelize_all.
	* tree-ssa-loop.c (gate_graphite_transforms): Same.
	* graphite.c (graphite_transform_loops): Same.
	* common.opt: Same.
	* graphite-poly.c (apply_poly_transforms): Same.

	* gcc.dg/graphite/graphite_autopar/graphite_autopar.exp: Rename
	-fgraphite-force-parallel to -floop-parallelize-all.

From-SVN: r150334
parent 3af8d8cb
2009-08-01 Sebastian Pop <sebastian.pop@amd.com>
* doc/invoke.texi (-fgraphite-force-parallel): Renamed
-floop-parallelize-all.
* toplev.c (process_options): Rename flag_graphite_force_parallel to
flag_loop_parallelize_all.
* tree-ssa-loop.c (gate_graphite_transforms): Same.
* graphite.c (graphite_transform_loops): Same.
* common.opt: Same.
* graphite-poly.c (apply_poly_transforms): Same.
2009-07-31 Richard Earnshaw <rearnsha@arm.com> 2009-07-31 Richard Earnshaw <rearnsha@arm.com>
PR tree-optimization/40914 PR tree-optimization/40914
......
...@@ -577,8 +577,8 @@ Common Report Var(flag_graphite_identity) Optimization ...@@ -577,8 +577,8 @@ Common Report Var(flag_graphite_identity) Optimization
Enable Graphite Identity transformation Enable Graphite Identity transformation
; This option is not documented as it will be removed ; This option is not documented as it will be removed
fgraphite-force-parallel floop-parallelize-all
Common Report Var(flag_graphite_force_parallel) Optimization Common Report Var(flag_loop_parallelize_all) Optimization
Mark all loops as parallel Mark all loops as parallel
floop-strip-mine floop-strip-mine
......
...@@ -347,7 +347,7 @@ Objective-C and Objective-C++ Dialects}. ...@@ -347,7 +347,7 @@ Objective-C and Objective-C++ Dialects}.
-fno-ira-share-spill-slots -fira-verbose=@var{n} @gol -fno-ira-share-spill-slots -fira-verbose=@var{n} @gol
-fivopts -fkeep-inline-functions -fkeep-static-consts @gol -fivopts -fkeep-inline-functions -fkeep-static-consts @gol
-floop-block -floop-interchange -floop-strip-mine -fgraphite-identity @gol -floop-block -floop-interchange -floop-strip-mine -fgraphite-identity @gol
-fgraphite-force-parallel @gol -floop-parallelize-all @gol
-fmerge-all-constants -fmerge-constants -fmodulo-sched @gol -fmerge-all-constants -fmerge-constants -fmodulo-sched @gol
-fmodulo-sched-allow-regmoves -fmove-loop-invariants -fmudflap @gol -fmodulo-sched-allow-regmoves -fmove-loop-invariants -fmudflap @gol
-fmudflapir -fmudflapth -fno-branch-count-reg -fno-default-inline @gol -fmudflapir -fmudflapth -fno-branch-count-reg -fno-default-inline @gol
...@@ -6602,7 +6602,7 @@ GIMPLE -> GRAPHITE -> GIMPLE transformation. Some minimal optimizations ...@@ -6602,7 +6602,7 @@ GIMPLE -> GRAPHITE -> GIMPLE transformation. Some minimal optimizations
are also performed by the code generator CLooG, like index splitting and are also performed by the code generator CLooG, like index splitting and
dead code elimination in loops. dead code elimination in loops.
@item -fgraphite-force-parallel @item -floop-parallelize-all
Use the Graphite data dependence analysis to identify loops that can Use the Graphite data dependence analysis to identify loops that can
be parallelized. Parallelize all the loops that can be analyzed to be parallelized. Parallelize all the loops that can be analyzed to
not contain loop carried dependences without checking that it is not contain loop carried dependences without checking that it is
......
...@@ -248,7 +248,7 @@ apply_poly_transforms (scop_p scop) ...@@ -248,7 +248,7 @@ apply_poly_transforms (scop_p scop)
if (flag_graphite_identity) if (flag_graphite_identity)
transform_done = true; transform_done = true;
if (flag_graphite_force_parallel) if (flag_loop_parallelize_all)
transform_done = true; transform_done = true;
if (flag_loop_block) if (flag_loop_block)
......
...@@ -283,7 +283,7 @@ graphite_transform_loops (void) ...@@ -283,7 +283,7 @@ graphite_transform_loops (void)
} }
} }
if (flag_graphite_force_parallel) if (flag_loop_parallelize_all)
mark_loops_parallel (bb_pbb_mapping); mark_loops_parallel (bb_pbb_mapping);
htab_delete (bb_pbb_mapping); htab_delete (bb_pbb_mapping);
......
2009-08-01 Sebastian Pop <sebastian.pop@amd.com>
* gcc.dg/graphite/graphite_autopar/graphite_autopar.exp: Rename
-fgraphite-force-parallel to -floop-parallelize-all.
2009-08-01 Paul Thomas <pault@gcc.gnu.org> 2009-08-01 Paul Thomas <pault@gcc.gnu.org>
PR fortran/40011 PR fortran/40011
......
...@@ -48,7 +48,7 @@ set wait_to_run_files [lsort [glob -nocomplain $srcdir/$subdir/*.c]] ...@@ -48,7 +48,7 @@ set wait_to_run_files [lsort [glob -nocomplain $srcdir/$subdir/*.c]]
# Flags using for force-parallel-*.c files. # Flags using for force-parallel-*.c files.
set DEFAULT_CFLAGS_FORCE_PARALLEL " -ansi -pedantic-errors -O2 \ set DEFAULT_CFLAGS_FORCE_PARALLEL " -ansi -pedantic-errors -O2 \
-ftree-parallelize-loops=4 -fgraphite-force-parallel \ -ftree-parallelize-loops=4 -floop-parallelize-all \
-fdump-tree-parloops-details -fdump-tree-optimized \ -fdump-tree-parloops-details -fdump-tree-optimized \
-fno-loop-strip-mine -fdump-tree-graphite-all" -fno-loop-strip-mine -fdump-tree-graphite-all"
set force_parallel_files \ set force_parallel_files \
......
...@@ -1802,7 +1802,7 @@ process_options (void) ...@@ -1802,7 +1802,7 @@ process_options (void)
|| flag_loop_interchange || flag_loop_interchange
|| flag_loop_strip_mine || flag_loop_strip_mine
|| flag_graphite_identity || flag_graphite_identity
|| flag_graphite_force_parallel) || flag_loop_parallelize_all)
sorry ("Graphite loop optimizations cannot be used"); sorry ("Graphite loop optimizations cannot be used");
#endif #endif
......
...@@ -308,7 +308,7 @@ gate_graphite_transforms (void) ...@@ -308,7 +308,7 @@ gate_graphite_transforms (void)
/* Enable -fgraphite pass if any one of the graphite optimization flags /* Enable -fgraphite pass if any one of the graphite optimization flags
is turned on. */ is turned on. */
if (flag_loop_block || flag_loop_interchange || flag_loop_strip_mine if (flag_loop_block || flag_loop_interchange || flag_loop_strip_mine
|| flag_graphite_identity || flag_graphite_force_parallel) || flag_graphite_identity || flag_loop_parallelize_all)
flag_graphite = 1; flag_graphite = 1;
if (flag_loop_block) if (flag_loop_block)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment