Document -fgraphite-identity.
authorSebastian Pop <sebastian.pop@amd.com>
Fri, 31 Jul 2009 02:31:18 +0000 (02:31 +0000)
committerSebastian Pop <spop@gcc.gnu.org>
Fri, 31 Jul 2009 02:31:18 +0000 (02:31 +0000)
2009-07-30  Sebastian Pop  <sebastian.pop@amd.com>

* doc/invoke.texi (-fgraphite-identity): Documented.

From-SVN: r150291

gcc/ChangeLog
gcc/doc/invoke.texi

index ca1cd1ad9bda3bc434390bd1fb37ad5dea0fd831..6712783e003966c733facafa417000177bebeca8 100644 (file)
@@ -1,3 +1,7 @@
+2009-07-30  Sebastian Pop  <sebastian.pop@amd.com>
+
+       * doc/invoke.texi (-fgraphite-identity): Documented.
+
 2009-07-30  Sebastian Pop  <sebastian.pop@amd.com>
 
        * tree-scalar-evolution.c: Fix comment.
index fe24b9850d55c6df82e457b879acf3fa78b0ed7f..bd43377f04d74b2f975c5b67c80760e085e893bf 100644 (file)
@@ -346,7 +346,7 @@ Objective-C and Objective-C++ Dialects}.
 -fira-region=@var{region} -fira-coalesce -fno-ira-share-save-slots @gol
 -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 @gol
+-floop-block -floop-interchange -floop-strip-mine -fgraphite-identity @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
@@ -6592,6 +6592,15 @@ code transformation, GCC has to be configured with @option{--with-ppl}
 and @option{--with-cloog} to enable the Graphite loop transformation
 infrastructure.
 
+@item -fgraphite-identity
+@opindex fgraphite-identity
+Enable the identity transformation for graphite.  For every SCoP we generate
+the polyhedral representation and transform it back to gimple.  Using
+@option{-fgraphite-identity} we can check the costs or benefits of the
+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 -fcheck-data-deps
 @opindex fcheck-data-deps
 Compare the results of several data dependence analyzers.  This option