diff options
author | dberlin <dberlin@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-03-01 17:59:06 +0000 |
---|---|---|
committer | dberlin <dberlin@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-03-01 17:59:06 +0000 |
commit | 5e733b0261a2650d1574be49c7e155768003c59d (patch) | |
tree | 126cecfe4e30597e3e21ba835c4893c2e3f19195 /gcc/doc/passes.texi | |
parent | 3cc68dd82f269732a8dc175645f1ea36fd8bcd86 (diff) | |
download | gcc-5e733b0261a2650d1574be49c7e155768003c59d.tar.gz |
2005-03-01 Daniel Berlin <dberlin@dberlin.org>
* Makefile.in (tree-ssa-sink.o): New.
(OBJS-common): Add tree-ssa-sink.o.
* common.opt: Add -ftree-sink
* opts.c (decode_options): flag_tree_sink is set at O1 or higher.
* timevar.def (TV_TREE_SINK): new timevar.
* tree-flow.h (is_hidden_global_store): Prototype.
* tree-optimize.c (init_tree_optimization_passes): Add
pass_sink_code.
* tree-pass.h (pass_sink_code): New.
* tree-ssa-dce.c (mark_stmt_if_obviously_necessary): Move checking
for non-obvious global store store to is_hidden_global_store, and
call that new function.
* tree-ssa-sink.c: New file.
* doc/invoke.texi: Document -fdump-tree-sink and -ftree-sink.
* doc/passes.texi: Document forward store motion.
* testsuite/gcc.dg/tree-ssa/ssa-sink-1.c: New test
* testsuite/gcc.dg/tree-ssa/ssa-sink-2.c: New test
* testsuite/gcc.dg/tree-ssa/ssa-sink-3.c: New test
* testsuite/gcc.dg/tree-ssa/ssa-sink-4.c: New test
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95750 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/doc/passes.texi')
-rw-r--r-- | gcc/doc/passes.texi | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc/doc/passes.texi b/gcc/doc/passes.texi index af11f725a43..fd4e323d90a 100644 --- a/gcc/doc/passes.texi +++ b/gcc/doc/passes.texi @@ -350,6 +350,12 @@ in @file{tree-ssa-dse.c} and is described by @code{pass_dse}. This pass transforms tail recursion into a loop. It is located in @file{tree-tailcall.c} and is described by @code{pass_tail_recursion}. +@item Forward store motion + +This pass sinks stores and assignments down the flowgraph closer to it's +use point. The pass is located in @file{tree-ssa-sink.c} and is +described by @code{pass_sink_code} + @item Partial redundancy elimination This pass eliminates partially redundant computations, as well as |