(try_combine): Update split_code after converting MULT

to ASHIFT.

From-SVN: r8403
This commit is contained in:
Jim Wilson 1994-11-07 16:31:46 -08:00
parent 58371476ee
commit 1dc8a823f9

View File

@ -1835,8 +1835,13 @@ try_combine (i3, i2, i1)
if (split_code == MULT
&& GET_CODE (XEXP (*split, 1)) == CONST_INT
&& (i = exact_log2 (INTVAL (XEXP (*split, 1)))) >= 0)
SUBST (*split, gen_rtx_combine (ASHIFT, split_mode,
XEXP (*split, 0), GEN_INT (i)));
{
SUBST (*split, gen_rtx_combine (ASHIFT, split_mode,
XEXP (*split, 0), GEN_INT (i)));
/* Update split_code because we may not have a multiply
anymore. */
split_code = GET_CODE (*split);
}
#ifdef INSN_SCHEDULING
/* If *SPLIT is a paradoxical SUBREG, when we split it, it should