aboutsummaryrefslogtreecommitdiff
path: root/gcc/combine.c
diff options
context:
space:
mode:
authorKazu Hirata <kazu@cs.umass.edu>2003-07-01 01:15:07 +0000
committerKazu Hirata <kazu@gcc.gnu.org>2003-07-01 01:15:07 +0000
commit6001794def1de775fa296fa60b8bf5630dc97736 (patch)
tree5598774dfea689770b311deffdc2ccd8112d6016 /gcc/combine.c
parent7d896ee96b213c6e77acd70f44bfb18d1a72c905 (diff)
downloadgcc-6001794def1de775fa296fa60b8bf5630dc97736.zip
gcc-6001794def1de775fa296fa60b8bf5630dc97736.tar.gz
gcc-6001794def1de775fa296fa60b8bf5630dc97736.tar.bz2
combine.c (distribute_notes): Don't bother REG_WAS_0.
* combine.c (distribute_notes): Don't bother REG_WAS_0. * cse.c (cse_insn): Likewise. * final.c (final_scan_insn): Likewise. * jump.c (duplicate_loop_exit_test): Likewise. * rtl.c (reg_note_name): Remove REG_WAS_0. * rtl.h (REG_WAS_0): Remove. * unroll.c (final_reg_note_copy): Don't bother REG_WAS_0. * config/avr/avr.c (output_movqi): Don't use reg_was_0. (output_movhi): Likewise. (output_movsisf): Likewise. (reg_was_0): Remove. * config/m68hc11/m68hc11.c (m68hc11_gen_movhi): Don't use REG_WAS_0. (m68hc11_gen_movqi): Likewise. * config/vax/vax-protos.h: Remove the prototype for reg_was_0_p. * config/vax/vax.c (follows_p): Remove. (reg_was_0_p): Likewise. * config/vax/vax.md (movsi): Don't use reg_was_0_p. (movhi): Likewise. (movqi): Likewise. * doc/rtl.texi (REG_WAS_0): Remove. From-SVN: r68753
Diffstat (limited to 'gcc/combine.c')
-rw-r--r--gcc/combine.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/gcc/combine.c b/gcc/combine.c
index 7b8fc9c..b0d21c0 100644
--- a/gcc/combine.c
+++ b/gcc/combine.c
@@ -12605,8 +12605,7 @@ distribute_notes (rtx notes, rtx from_insn, rtx i3, rtx i2)
break;
case REG_NONNEG:
- case REG_WAS_0:
- /* These notes say something about the value of a register prior
+ /* This note says something about the value of a register prior
to the execution of an insn. It is too much trouble to see
if the note is still correct in all situations. It is better
to simply delete it. */