diff options
-rw-r--r-- | gcc/ChangeLog | 11 | ||||
-rw-r--r-- | gcc/common.opt | 4 | ||||
-rw-r--r-- | gcc/doc/invoke.texi | 4 | ||||
-rw-r--r-- | gcc/graphite-poly.c | 2 | ||||
-rw-r--r-- | gcc/graphite.c | 2 | ||||
-rw-r--r-- | gcc/testsuite/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/testsuite/gcc.dg/graphite/graphite_autopar/graphite_autopar.exp | 2 | ||||
-rw-r--r-- | gcc/toplev.c | 2 | ||||
-rw-r--r-- | gcc/tree-ssa-loop.c | 2 |
9 files changed, 25 insertions, 9 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 411ccdd..2d3a15f 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,14 @@ +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> PR tree-optimization/40914 diff --git a/gcc/common.opt b/gcc/common.opt index be1bf4c..d8507d1 100644 --- a/gcc/common.opt +++ b/gcc/common.opt @@ -577,8 +577,8 @@ Common Report Var(flag_graphite_identity) Optimization Enable Graphite Identity transformation ; This option is not documented as it will be removed -fgraphite-force-parallel -Common Report Var(flag_graphite_force_parallel) Optimization +floop-parallelize-all +Common Report Var(flag_loop_parallelize_all) Optimization Mark all loops as parallel floop-strip-mine diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi index 1c932b8..a4bb385 100644 --- a/gcc/doc/invoke.texi +++ b/gcc/doc/invoke.texi @@ -347,7 +347,7 @@ Objective-C and Objective-C++ Dialects}. -fno-ira-share-spill-slots -fira-verbose=@var{n} @gol -fivopts -fkeep-inline-functions -fkeep-static-consts @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 -fmodulo-sched-allow-regmoves -fmove-loop-invariants -fmudflap @gol -fmudflapir -fmudflapth -fno-branch-count-reg -fno-default-inline @gol @@ -6602,7 +6602,7 @@ GIMPLE -> GRAPHITE -> GIMPLE transformation. Some minimal optimizations are also performed by the code generator CLooG, like index splitting and dead code elimination in loops. -@item -fgraphite-force-parallel +@item -floop-parallelize-all Use the Graphite data dependence analysis to identify loops that can be parallelized. Parallelize all the loops that can be analyzed to not contain loop carried dependences without checking that it is diff --git a/gcc/graphite-poly.c b/gcc/graphite-poly.c index da2beb3..2df04af 100644 --- a/gcc/graphite-poly.c +++ b/gcc/graphite-poly.c @@ -248,7 +248,7 @@ apply_poly_transforms (scop_p scop) if (flag_graphite_identity) transform_done = true; - if (flag_graphite_force_parallel) + if (flag_loop_parallelize_all) transform_done = true; if (flag_loop_block) diff --git a/gcc/graphite.c b/gcc/graphite.c index 997e164..0c0b607 100644 --- a/gcc/graphite.c +++ b/gcc/graphite.c @@ -283,7 +283,7 @@ graphite_transform_loops (void) } } - if (flag_graphite_force_parallel) + if (flag_loop_parallelize_all) mark_loops_parallel (bb_pbb_mapping); htab_delete (bb_pbb_mapping); diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index cb3b647..0805241 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +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> PR fortran/40011 diff --git a/gcc/testsuite/gcc.dg/graphite/graphite_autopar/graphite_autopar.exp b/gcc/testsuite/gcc.dg/graphite/graphite_autopar/graphite_autopar.exp index 5ec47fe..11d19a8 100644 --- a/gcc/testsuite/gcc.dg/graphite/graphite_autopar/graphite_autopar.exp +++ b/gcc/testsuite/gcc.dg/graphite/graphite_autopar/graphite_autopar.exp @@ -48,7 +48,7 @@ set wait_to_run_files [lsort [glob -nocomplain $srcdir/$subdir/*.c]] # Flags using for force-parallel-*.c files. 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 \ -fno-loop-strip-mine -fdump-tree-graphite-all" set force_parallel_files \ diff --git a/gcc/toplev.c b/gcc/toplev.c index 3b6fd74..9ed24d8 100644 --- a/gcc/toplev.c +++ b/gcc/toplev.c @@ -1802,7 +1802,7 @@ process_options (void) || flag_loop_interchange || flag_loop_strip_mine || flag_graphite_identity - || flag_graphite_force_parallel) + || flag_loop_parallelize_all) sorry ("Graphite loop optimizations cannot be used"); #endif diff --git a/gcc/tree-ssa-loop.c b/gcc/tree-ssa-loop.c index cac6d6d..8f7047f 100644 --- a/gcc/tree-ssa-loop.c +++ b/gcc/tree-ssa-loop.c @@ -308,7 +308,7 @@ gate_graphite_transforms (void) /* Enable -fgraphite pass if any one of the graphite optimization flags is turned on. */ 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; if (flag_loop_block) |