Commit 5df90541 by Kazu Hirata Committed by Kazu Hirata

re PR target/10795 (ICE in extract_insn, at recog.c:2188)

	PR target/10795
	* config/i386/i386.c (ix86_expand_carry_flag_compare): Don't
	swap comparison operands if doing so would generate an
	unrecognizable insn.

From-SVN: r69407
parent b5524f94
2003-07-15 Kazu Hirata <kazu@cs.umass.edu>
PR target/10795
* config/i386/i386.c (ix86_expand_carry_flag_compare): Don't
swap comparison operands if doing so would generate an
unrecognizable insn.
2003-07-15 Eric Botcazou <ebotcazou@libertysurf.fr>
PR optimization/11320
......
......@@ -9383,6 +9383,11 @@ ix86_expand_carry_flag_compare (enum rtx_code code, rtx op0, rtx op1, rtx *pop)
return false;
code = (code == GTU ? GEU : LTU);
}
else if (!nonimmediate_operand (op1, mode)
|| !general_operand (op0, mode))
/* Swapping operands in this case would generate an
unrecognizable insn. */
return false;
else
{
rtx tmp = op1;
......
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