From 1b08d87d349ea49109ca153f6cb2c75002dddb0f Mon Sep 17 00:00:00 2001 From: Daniel Berlin Date: Fri, 3 Sep 2004 02:19:40 +0000 Subject: [PATCH] common.opt: Rename ivcanon to tree-loop-ivcanon, tree-lim to tree-loop-im. 2004-09-02 Daniel Berlin * gcc/common.opt: Rename ivcanon to tree-loop-ivcanon, tree-lim to tree-loop-im. * gcc/tree-ssa-loop.c: Ditto * gcc/tree-ssa-loop-ivcanon.c: Ditto * gcc/doc/invoke.texi: Ditto. From-SVN: r87023 --- gcc/ChangeLog | 8 ++++++++ gcc/common.opt | 12 ++++++------ gcc/doc/invoke.texi | 2 +- gcc/tree-ssa-loop-ivcanon.c | 2 +- gcc/tree-ssa-loop.c | 4 ++-- 5 files changed, 18 insertions(+), 10 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 896ab3f4c67..b6b81f8f731 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,11 @@ +2004-09-02 Daniel Berlin + + * gcc/common.opt: Rename ivcanon to tree-loop-ivcanon, tree-lim to + tree-loop-im. + * gcc/tree-ssa-loop.c: Ditto + * gcc/tree-ssa-loop-ivcanon.c: Ditto + * gcc/doc/invoke.texi: Ditto. + 2004-09-02 Ziemowit Laski * c-decl.c (store_parm_decls_newstyle): Make static. diff --git a/gcc/common.opt b/gcc/common.opt index 55f71db3b9a..c3baf31f484 100644 --- a/gcc/common.opt +++ b/gcc/common.opt @@ -472,10 +472,6 @@ finstrument-functions Common Report Var(flag_instrument_function_entry_exit) Instrument function entry and exit with profiling calls -fivcanon -Common Report Var(flag_ivcanon) -Create canonical induction variables in loops - fkeep-inline-functions Common Report Var(flag_keep_inline_functions) Generate code for functions even if they are fully inlined @@ -856,10 +852,14 @@ ftree-fre Common Report Var(flag_tree_fre) Enable Full Redundancy Elimination (FRE) on trees -ftree-lim -Common Report Var(flag_tree_lim) Init(1) +ftree-loop-im +Common Report Var(flag_tree_loop_im) Init(1) Enable loop invariant motion on trees +ftree-loop-ivcanon +Common Report Var(flag_tree_loop_ivcanon) +Create canonical induction variables in loops + ftree-loop-optimize Common Report Var(flag_tree_loop_optimize) Init(1) Enable loop optimizations on tree level diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi index b4efeb4c2b1..6772ba0917e 100644 --- a/gcc/doc/invoke.texi +++ b/gcc/doc/invoke.texi @@ -316,7 +316,7 @@ Objective-C and Objective-C++ Dialects}. -funroll-all-loops -funroll-loops -fpeel-loops @gol -funswitch-loops -fold-unroll-loops -fold-unroll-all-loops @gol -ftree-pre -ftree-ccp -ftree-dce -ftree-loop-optimize @gol --ftree-lim -fivcanon @gol +-ftree-loop-im -ftree-loop-ivcanon @gol -ftree-dominator-opts -ftree-dse -ftree-copyrename @gol -ftree-ch -ftree-sra -ftree-ter -ftree-lrs -ftree-fre -ftree-vectorize @gol --param @var{name}=@var{value} diff --git a/gcc/tree-ssa-loop-ivcanon.c b/gcc/tree-ssa-loop-ivcanon.c index 72718786a9d..733cdd2e76b 100644 --- a/gcc/tree-ssa-loop-ivcanon.c +++ b/gcc/tree-ssa-loop-ivcanon.c @@ -288,7 +288,7 @@ tree_unroll_loops_completely (struct loops *loops) changed |= canonicalize_loop_induction_variables (loops, loop, false, true, - !flag_ivcanon); + !flag_tree_loop_ivcanon); } #if 0 diff --git a/gcc/tree-ssa-loop.c b/gcc/tree-ssa-loop.c index 07ff98834e2..3ea6eedc014 100644 --- a/gcc/tree-ssa-loop.c +++ b/gcc/tree-ssa-loop.c @@ -137,7 +137,7 @@ tree_ssa_loop_im (void) static bool gate_tree_ssa_loop_im (void) { - return flag_tree_lim != 0; + return flag_tree_loop_im != 0; } struct tree_opt_pass pass_lim = @@ -204,7 +204,7 @@ tree_ssa_loop_ivcanon (void) static bool gate_tree_ssa_loop_ivcanon (void) { - return flag_ivcanon != 0; + return flag_tree_loop_ivcanon != 0; } struct tree_opt_pass pass_iv_canon = -- 2.30.2