This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Use single_set in loop.c
- To: Geoff Keating <geoffk at redhat dot com>
- Subject: Re: Use single_set in loop.c
- From: Richard Henderson <rth at redhat dot com>
- Date: Tue, 31 Jul 2001 16:11:48 -0700
- Cc: gcc-patches at gcc dot gnu dot org
- References: <200107311821.LAA06090@geoffk.org>
On Tue, Jul 31, 2001 at 11:21:04AM -0700, Geoff Keating wrote:
> /* Save some info needed to produce the new insns. */
> reg = bl->biv->dest_reg;
> - jump_label = XEXP (SET_SRC (PATTERN (PREV_INSN (loop_end))), 1);
> + jump_label = XEXP (SET_SRC (single_set (PREV_INSN (loop_end))),
> + 1);
> if (jump_label == pc_rtx)
> - jump_label = XEXP (SET_SRC (PATTERN (PREV_INSN (loop_end))), 2);
> + jump_label = XEXP (SET_SRC (single_set (PREV_INSN (loop_end))),
> + 2);
See condjump_label.
r~