This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch] flow.c: Don't call sets_cc0_p if insn is NULL_RTX.
- To: Kazu Hirata <kazu at hxi dot com>
- Subject: Re: [patch] flow.c: Don't call sets_cc0_p if insn is NULL_RTX.
- From: Richard Henderson <rth at redhat dot com>
- Date: Thu, 19 Jul 2001 16:18:11 -0700
- Cc: gcc-patches at gcc dot gnu dot org
- References: <200107192203.PAA29559@cygnus.com>
On Thu, Jul 19, 2001 at 03:03:35PM -0700, Kazu Hirata wrote:
> * flow.c (try_redirect_by_replacing_jump): Don't call sets_cc0_p
> if insn is NULL_RTX.
Hm.. I think better is to use
reg_mentioned_p (cc0_rtx, PATTERN (insn))
on the jump insn instead of using sets_cc0_p on the
previous insn.
r~