[patch] common.opt: Remove -ftree-lrs.

Kazu Hirata kazu@codesourcery.com
Sun Feb 18 01:00:00 GMT 2007


Hi,

Attached is a patch to remove -ftree-lrs as it is unused.

I am not sure if I should follow the normal deprecation process.
Please let me know if I should.

Bootstrapped on i686-pc-linux-gnu.  OK to apply?

Kazu Hirata

2007-02-18  Kazu Hirata  <kazu@codesourcery.com>

	* common.opt (-ftree-lrs): Remove.
	* doc/invoke.texi (-ftree-lrs): Likewise.

Index: common.opt
===================================================================
--- common.opt	(revision 122017)
+++ common.opt	(working copy)
@@ -1050,10 +1050,6 @@ ftree-ter
 Common Report Var(flag_tree_ter) Optimization
 Replace temporary expressions in the SSA->normal pass
 
-ftree-lrs
-Common Report Var(flag_tree_live_range_split) Optimization
-Perform live range splitting during the SSA->normal pass
-
 ftree-vrp
 Common Report Var(flag_tree_vrp) Init(0) Optimization
 Perform Value Range Propagation on trees
Index: doc/invoke.texi
===================================================================
--- doc/invoke.texi	(revision 122017)
+++ doc/invoke.texi	(working copy)
@@ -350,7 +350,7 @@ Objective-C and Objective-C++ Dialects}.
 -ftree-pre  -ftree-ccp  -ftree-dce -ftree-loop-optimize @gol
 -ftree-loop-linear -ftree-loop-im -ftree-loop-ivcanon -fivopts @gol
 -ftree-dominator-opts -ftree-dse -ftree-copyrename -ftree-sink @gol
--ftree-ch -ftree-sra -ftree-ter -ftree-lrs -ftree-fre -ftree-vectorize @gol
+-ftree-ch -ftree-sra -ftree-ter -ftree-fre -ftree-vectorize @gol
 -ftree-vect-loop-version -ftree-salias -fipa-pta -fweb @gol
 -ftree-copy-prop -ftree-store-ccp -ftree-store-copy-prop -fwhole-program @gol
 --param @var{name}=@var{value}
@@ -4759,7 +4759,6 @@ compilation time.
 -ftree-dominator-opts @gol
 -ftree-dse @gol
 -ftree-ter @gol
--ftree-lrs @gol
 -ftree-sra @gol
 -ftree-copyrename @gol
 -ftree-fre @gol
@@ -5455,11 +5454,6 @@ defining expression.  This results in no
 much more complex trees to work on resulting in better RTL generation.  This is
 enabled by default at @option{-O} and higher.
 
-@item -ftree-lrs
-Perform live range splitting during the SSA->normal phase.  Distinct live
-ranges of a variable are split into unique variables, allowing for better
-optimization later.  This is enabled by default at @option{-O} and higher.
-
 @item -ftree-vectorize
 Perform loop vectorization on trees.
 



More information about the Gcc-patches mailing list