loop.c (loop_regs_update): Delete else clause for PATTERN rtx and simplify.
* loop.c (loop_regs_update): Delete else clause for PATTERN rtx and simplify. From-SVN: r71160
This commit is contained in:
parent
385bce060a
commit
10ef35a9da
2 changed files with 11 additions and 15 deletions
|
@ -1,3 +1,8 @@
|
|||
2003-09-06 James E Wilson <wilson@tuliptree.org>
|
||||
|
||||
* loop.c (loop_regs_update): Delete else clause for PATTERN rtx and
|
||||
simplify.
|
||||
|
||||
2003-09-07 Kelley Cook <kelleycook@wideopenwest.com>
|
||||
|
||||
* Makefile.in: Define $REMAKE to be $MAKE with LANGUAGES & BOOT_CFLAGS
|
||||
|
|
21
gcc/loop.c
21
gcc/loop.c
|
@ -7741,25 +7741,16 @@ loop_regs_update (const struct loop *loop ATTRIBUTE_UNUSED, rtx seq)
|
|||
|
||||
/* Update register info for alias analysis. */
|
||||
|
||||
if (seq == NULL_RTX)
|
||||
return;
|
||||
|
||||
if (INSN_P (seq))
|
||||
insn = seq;
|
||||
while (insn != NULL_RTX)
|
||||
{
|
||||
insn = seq;
|
||||
while (insn != NULL_RTX)
|
||||
{
|
||||
rtx set = single_set (insn);
|
||||
rtx set = single_set (insn);
|
||||
|
||||
if (set && GET_CODE (SET_DEST (set)) == REG)
|
||||
record_base_value (REGNO (SET_DEST (set)), SET_SRC (set), 0);
|
||||
if (set && GET_CODE (SET_DEST (set)) == REG)
|
||||
record_base_value (REGNO (SET_DEST (set)), SET_SRC (set), 0);
|
||||
|
||||
insn = NEXT_INSN (insn);
|
||||
}
|
||||
insn = NEXT_INSN (insn);
|
||||
}
|
||||
else if (GET_CODE (seq) == SET
|
||||
&& GET_CODE (SET_DEST (seq)) == REG)
|
||||
record_base_value (REGNO (SET_DEST (seq)), SET_SRC (seq), 0);
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue