Commit d51d146f by Kazu Hirata Committed by Kazu Hirata

stmt.c (do_jump_if_equal): Return 0 earlier if OP1 and OP2 are known to be not equivalent.

	* stmt.c (do_jump_if_equal): Return 0 earlier if OP1 and
	OP2 are known to be not equivalent.

From-SVN: r68557
parent 6a08f7b3
2003-06-27 Kazu Hirata <kazu@cs.umass.edu>
* stmt.c (do_jump_if_equal): Return 0 earlier if OP1 and
OP2 are known to be not equivalent.
2003-06-26 Devang Patel <dpatel@apple.com> 2003-06-26 Devang Patel <dpatel@apple.com>
* final.c (debug_flush_symbol_queue): New function. * final.c (debug_flush_symbol_queue): New function.
......
...@@ -5756,7 +5756,7 @@ do_jump_if_equal (op1, op2, label, unsignedp) ...@@ -5756,7 +5756,7 @@ do_jump_if_equal (op1, op2, label, unsignedp)
{ {
if (GET_CODE (op1) == CONST_INT && GET_CODE (op2) == CONST_INT) if (GET_CODE (op1) == CONST_INT && GET_CODE (op2) == CONST_INT)
{ {
if (INTVAL (op1) == INTVAL (op2)) if (op1 == op2)
emit_jump (label); emit_jump (label);
} }
else else
......
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