Commit c4597c1d by Thomas Schwinge Committed by Thomas Schwinge

More gcc/loop-unswitch.c cleanup.

	gcc/
	* cfgloop.h (unswitch_loops): Remove.
	* doc/passes.texi: Remove references to loop-unswitch.c
	* timevar.def (TV_LOOP_UNSWITCH): Remove.

From-SVN: r210156
parent 2c23db6d
2014-05-07 Thomas Schwinge <thomas@codesourcery.com>
* cfgloop.h (unswitch_loops): Remove.
* doc/passes.texi: Remove references to loop-unswitch.c
* timevar.def (TV_LOOP_UNSWITCH): Remove.
2014-05-07 Evgeny Stupachenko <evstupac@gmail.com> 2014-05-07 Evgeny Stupachenko <evstupac@gmail.com>
* tree-vect-data-refs.c (vect_grouped_load_supported): New * tree-vect-data-refs.c (vect_grouped_load_supported): New
......
...@@ -711,8 +711,6 @@ extern void loop_optimizer_init (unsigned); ...@@ -711,8 +711,6 @@ extern void loop_optimizer_init (unsigned);
extern void loop_optimizer_finalize (void); extern void loop_optimizer_finalize (void);
/* Optimization passes. */ /* Optimization passes. */
extern void unswitch_loops (void);
enum enum
{ {
UAP_PEEL = 1, /* Enables loop peeling. */ UAP_PEEL = 1, /* Enables loop peeling. */
......
...@@ -474,10 +474,7 @@ merging and induction variable elimination. The pass is implemented in ...@@ -474,10 +474,7 @@ merging and induction variable elimination. The pass is implemented in
Loop unswitching. This pass moves the conditional jumps that are invariant Loop unswitching. This pass moves the conditional jumps that are invariant
out of the loops. To achieve this, a duplicate of the loop is created for out of the loops. To achieve this, a duplicate of the loop is created for
each possible outcome of conditional jump(s). The pass is implemented in each possible outcome of conditional jump(s). The pass is implemented in
@file{tree-ssa-loop-unswitch.c}. This pass should eventually replace the @file{tree-ssa-loop-unswitch.c}.
RTL level loop unswitching in @file{loop-unswitch.c}, but currently
the RTL level pass is not completely redundant yet due to deficiencies
in tree level alias analysis.
The optimizations also use various utility functions contained in The optimizations also use various utility functions contained in
@file{tree-ssa-loop-manip.c}, @file{cfgloop.c}, @file{cfgloopanal.c} and @file{tree-ssa-loop-manip.c}, @file{cfgloop.c}, @file{cfgloopanal.c} and
...@@ -793,8 +790,8 @@ The source files @file{cfgloopanal.c} and @file{cfgloopmanip.c} contain ...@@ -793,8 +790,8 @@ The source files @file{cfgloopanal.c} and @file{cfgloopmanip.c} contain
generic loop analysis and manipulation code. Initialization and finalization generic loop analysis and manipulation code. Initialization and finalization
of loop structures is handled by @file{loop-init.c}. of loop structures is handled by @file{loop-init.c}.
A loop invariant motion pass is implemented in @file{loop-invariant.c}. A loop invariant motion pass is implemented in @file{loop-invariant.c}.
Basic block level optimizations---unrolling, peeling and unswitching loops--- Basic block level optimizations---unrolling, and peeling loops---
are implemented in @file{loop-unswitch.c} and @file{loop-unroll.c}. are implemented in @file{loop-unroll.c}.
Replacing of the exit condition of loops by special machine-dependent Replacing of the exit condition of loops by special machine-dependent
instructions is handled by @file{loop-doloop.c}. instructions is handled by @file{loop-doloop.c}.
......
...@@ -207,7 +207,6 @@ DEFTIMEVAR (TV_DSE2 , "dead store elim2") ...@@ -207,7 +207,6 @@ DEFTIMEVAR (TV_DSE2 , "dead store elim2")
DEFTIMEVAR (TV_LOOP , "loop analysis") DEFTIMEVAR (TV_LOOP , "loop analysis")
DEFTIMEVAR (TV_LOOP_INIT , "loop init") DEFTIMEVAR (TV_LOOP_INIT , "loop init")
DEFTIMEVAR (TV_LOOP_MOVE_INVARIANTS , "loop invariant motion") DEFTIMEVAR (TV_LOOP_MOVE_INVARIANTS , "loop invariant motion")
DEFTIMEVAR (TV_LOOP_UNSWITCH , "loop unswitching")
DEFTIMEVAR (TV_LOOP_UNROLL , "loop unrolling") DEFTIMEVAR (TV_LOOP_UNROLL , "loop unrolling")
DEFTIMEVAR (TV_LOOP_DOLOOP , "loop doloop") DEFTIMEVAR (TV_LOOP_DOLOOP , "loop doloop")
DEFTIMEVAR (TV_LOOP_FINI , "loop fini") DEFTIMEVAR (TV_LOOP_FINI , "loop fini")
......
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