aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeffrey A Law <law@cygnus.com>1998-02-03 21:19:59 +0000
committerJeff Law <law@gcc.gnu.org>1998-02-03 14:19:59 -0700
commite535528b5e25afd7b641c11fab67344abe3628d5 (patch)
tree95236ba70bfa8c239749253fce775b21ed84f497
parent922cc7ae074d9e2ae7a3a4106f155305879add94 (diff)
downloadgcc-e535528b5e25afd7b641c11fab67344abe3628d5.zip
gcc-e535528b5e25afd7b641c11fab67344abe3628d5.tar.gz
gcc-e535528b5e25afd7b641c11fab67344abe3628d5.tar.bz2
jump.c (jump_optimize): Lose calls to modified_in_p they are not needed anymore due to changes...
* jump.c (jump_optimize): Lose calls to modified_in_p they are not needed anymore due to changes elsewhere in jump.c. From-SVN: r17644
-rw-r--r--gcc/ChangeLog3
-rw-r--r--gcc/jump.c5
2 files changed, 3 insertions, 5 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 9bfff269..69148fe 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,8 @@
Tue Feb 3 01:11:12 1998 Jeffrey A Law (law@cygnus.com)
+ * jump.c (jump_optimize): Lose calls to modified_in_p they are
+ not needed anymore due to changes elsewhere in jump.c.
+
* jump.c (jump_optimize): Fix first arg to modified_in_p in
previous change.
diff --git a/gcc/jump.c b/gcc/jump.c
index b0a35c3..ff88203 100644
--- a/gcc/jump.c
+++ b/gcc/jump.c
@@ -995,7 +995,6 @@ jump_optimize (f, cross_jump, noop_moves, after_regscan)
&& GET_CODE (SET_SRC (temp1)) != REG
&& GET_CODE (SET_SRC (temp1)) != SUBREG
&& GET_CODE (SET_SRC (temp1)) != CONST_INT
- && ! modified_in_p (PATTERN (insn), temp)
&& ! side_effects_p (SET_SRC (temp1))
&& ! may_trap_p (SET_SRC (temp1))
&& rtx_cost (SET_SRC (temp1), SET) < 10)
@@ -1035,13 +1034,11 @@ jump_optimize (f, cross_jump, noop_moves, after_regscan)
&& GET_MODE_CLASS (GET_MODE (temp2)) == MODE_INT
&& (! SMALL_REGISTER_CLASSES
|| REGNO (temp2) >= FIRST_PSEUDO_REGISTER)
- && ! modified_in_p (PATTERN (insn), temp)
&& ! side_effects_p (SET_SRC (temp1))
&& ! may_trap_p (SET_SRC (temp1))
&& rtx_cost (SET_SRC (temp1), SET) < 10
&& (temp4 = single_set (temp3)) != 0
&& rtx_equal_p (SET_DEST (temp4), temp2)
- && ! modified_in_p (PATTERN (insn), temp3)
&& ! side_effects_p (SET_SRC (temp4))
&& ! may_trap_p (SET_SRC (temp4))
&& rtx_cost (SET_SRC (temp4), SET) < 10)
@@ -1094,7 +1091,6 @@ jump_optimize (f, cross_jump, noop_moves, after_regscan)
&& REGNO (temp5) >= FIRST_PSEUDO_REGISTER
&& REGNO_FIRST_UID (REGNO (temp5)) == INSN_UID (temp)
&& REGNO_LAST_UID (REGNO (temp5)) == INSN_UID (temp3)
- && ! modified_in_p (PATTERN (insn), temp)
&& ! side_effects_p (SET_SRC (temp1))
&& ! may_trap_p (SET_SRC (temp1))
&& rtx_cost (SET_SRC (temp1), SET) < 10
@@ -1104,7 +1100,6 @@ jump_optimize (f, cross_jump, noop_moves, after_regscan)
&& (! SMALL_REGISTER_CLASSES
|| REGNO (temp2) >= FIRST_PSEUDO_REGISTER)
&& rtx_equal_p (SET_DEST (temp4), temp2)
- && ! modified_in_p (PATTERN (insn), temp3)
&& ! side_effects_p (SET_SRC (temp4))
&& ! may_trap_p (SET_SRC (temp4))
&& rtx_cost (SET_SRC (temp4), SET) < 10)