(subst): Don't change a conditional branch into a conditional move.

From-SVN: r2426
This commit is contained in:
Tom Wood 1992-10-13 10:01:01 +00:00
parent 7f0a4b0a03
commit 696223d7cd

View File

@ -3849,7 +3849,8 @@ subst (x, from, to, in_dest, unique_copy)
IOR'ed together. In practice, at most two will be nonzero. Then
we do the IOR's. */
if (GET_CODE (SET_SRC (x)) == IF_THEN_ELSE
if (GET_CODE (SET_DEST (x)) != PC
&& GET_CODE (SET_SRC (x)) == IF_THEN_ELSE
&& (GET_CODE (XEXP (SET_SRC (x), 0)) == EQ
|| GET_CODE (XEXP (SET_SRC (x), 0)) == NE)
&& XEXP (XEXP (SET_SRC (x), 0), 1) == const0_rtx