OSDN Git Service

Document -fgraphite-identity.
authorspop <spop@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 31 Jul 2009 02:31:18 +0000 (02:31 +0000)
committerspop <spop@138bc75d-0d04-0410-961f-82ee72b054a4>
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150291 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/doc/invoke.texi

index ca1cd1a..6712783 100644 (file)
@@ -1,5 +1,9 @@
 2009-07-30  Sebastian Pop  <sebastian.pop@amd.com>
 
 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.
        (instantiate_scev_1): Return unknow from scev instantiation if the
        result is not above instantiate_below.
        * tree-scalar-evolution.c: Fix comment.
        (instantiate_scev_1): Return unknow from scev instantiation if the
        result is not above instantiate_below.
index fe24b98..bd43377 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
 -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
 -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.
 
 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
 @item -fcheck-data-deps
 @opindex fcheck-data-deps
 Compare the results of several data dependence analyzers.  This option