Commit de2b56f9 by Richard Kenner

(final_scan_insn): Don't call alter_cond unless condition is on cc0.

From-SVN: r10062
parent 9c51f375
......@@ -1805,6 +1805,8 @@ final_scan_insn (insn, file, optimize, prescan, nopeepholes)
&& GET_CODE (body) == SET
&& SET_DEST (body) == pc_rtx
&& GET_CODE (SET_SRC (body)) == IF_THEN_ELSE
&& GET_RTX_CLASS (GET_CODE (XEXP (SET_SRC (body), 0))) == '<'
&& XEXP (XEXP (SET_SRC (body), 0), 1) == cc0_rtx
/* This is done during prescan; it is not done again
in final scan when prescan has been done. */
&& prescan >= 0)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment