Repost: RFA [4.1]: improvement to if-conversion and cross-jumping (PR20070)
Joern RENNECKE
joern.rennecke@st.com
Wed Nov 30 22:27:00 GMT 2005
Bernd Schmidt wrote:
>
>
> > + RVALUE == 0: destination
> > + RVALUE == 1: source
> > + RVALUE == -1: source, ignore SET_DEST of SET / clobber. */
>
> Better an enum.
>
Hmm, in order to get rid of insns_match_p, I have to declare rtx_equiv_p
in basic-block.h,
and hence also this enum. I fear that can cause a lot of confuction in
gdb when 1, 0 and -1
is always displayed as the enum values.
enum equiv_rvalue
{ dst = 0, /* destination */
src = 1, /* source */
ignore_dst = -1 /* source, ignore SET_DEST of SET / clobber. */
};
extern int struct_equiv_block_eq (int mode, struct equiv_info *info);
extern bool rtx_equiv_p (rtx *xp, rtx y, equiv_rvalue rvalue,
More information about the Gcc-patches
mailing list