Commit 68af29ce by Jan Hubicka Committed by Jan Hubicka

* ifcvt.c (noce_operand_ok): Handle properly unarry operations.

From-SVN: r40181
parent 584bb3ec
Fri Mar 2 11:59:43 CET 2001 Jan Hubicka <jh@suse.cz>
* ifcvt.c (noce_operand_ok): Handle properly unarry operations.
2001-03-02 Neil Booth <neil@daikokuya.demon.co.uk>
* cppfiles.c (struct include_file): Update.
......
......@@ -1417,8 +1417,9 @@ noce_operand_ok (op)
default:
switch (GET_RTX_CLASS (GET_CODE (op)))
{
case 'c':
case '1':
return ! may_trap_p (XEXP (op, 0));
case 'c':
case '2':
return ! may_trap_p (XEXP (op, 0)) && ! may_trap_p (XEXP (op, 1));
}
......
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