Commit fd7acc30 by Roger Sayle

* explow.c (force_reg): Avoid useless REG_EQUAL notes.

From-SVN: r63187
parent 4876b2b4
2003-02-20 Roger Sayle <roger@eyesopen.com>
* explow.c (force_reg): Avoid useless REG_EQUAL notes.
2003-02-20 Toon Moene <toon@moene.indiv.nluug.nl> 2003-02-20 Toon Moene <toon@moene.indiv.nluug.nl>
PR fortran/9038 PR fortran/9038
...@@ -7,11 +11,14 @@ ...@@ -7,11 +11,14 @@
Thu Feb 20 21:41:19 CET 2003 Jan Hubicka <jh@suse.cz> Thu Feb 20 21:41:19 CET 2003 Jan Hubicka <jh@suse.cz>
* toplev.c (flag_sched2_use_superblocks, flag_sched2_use_traces): New global variables. * toplev.c (flag_sched2_use_superblocks, flag_sched2_use_traces): New
(lang_independent_options): Add -fsched2-use-superblocks -fsced2-use-traces. global variables.
(lang_independent_options): Add -fsched2-use-superblocks
-fsced2-use-traces.
(rest_of_compilation): Deal with it. (rest_of_compilation): Deal with it.
* invoke.texi (-fsched2-use-traces, fsched2-use-superblocks): Declare. * invoke.texi (-fsched2-use-traces, fsched2-use-superblocks): Declare.
* flags.h (flag_sched2_use_superblocks, flag_sched2_use_traces): Declare. * flags.h (flag_sched2_use_superblocks, flag_sched2_use_traces):
Declare.
* rtl.h (reg_to_stack): Update prototype. * rtl.h (reg_to_stack): Update prototype.
* reg-stack.c (reg_to_stack): Return when something has changed; * reg-stack.c (reg_to_stack): Return when something has changed;
update liveness when executing after superblock scheduling. update liveness when executing after superblock scheduling.
......
...@@ -775,7 +775,8 @@ force_reg (mode, x) ...@@ -775,7 +775,8 @@ force_reg (mode, x)
if INSN set something else (such as a SUBREG of TEMP). */ if INSN set something else (such as a SUBREG of TEMP). */
if (CONSTANT_P (x) if (CONSTANT_P (x)
&& (set = single_set (insn)) != 0 && (set = single_set (insn)) != 0
&& SET_DEST (set) == temp) && SET_DEST (set) == temp
&& ! rtx_equal_p (x, SET_SRC (set)))
set_unique_reg_note (insn, REG_EQUAL, x); set_unique_reg_note (insn, REG_EQUAL, x);
return temp; return temp;
......
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