Commit c512fd7b by Toshiyasu Morita Committed by Richard Henderson

* ifcvt.c (find_if_case_2): Test correct basic block for size.

From-SVN: r56167
parent 5e1bf043
2002-08-09 Toshiyasu Morita <toshiyasu.morita@hsa.hitachi.com>
* ifcvt.c (find_if_case_2): Test correct basic block for size.
2002-08-09 Dale Johannesen <dalej@apple.com>
* config/rs6000/rs6000.md: Add sibcall patterns.
* config/rs6000/rs6000.h (FUNCTION_OK_FOR_SIBCALL): Define.
* config/rs6000/rs6000.c (rs6000_ra_ever_killed):
......
......@@ -2769,7 +2769,7 @@ find_if_case_2 (test_bb, then_edge, else_edge)
test_bb->index, else_bb->index);
/* ELSE is small. */
if (count_bb_insns (then_bb) > BRANCH_COST)
if (count_bb_insns (else_bb) > BRANCH_COST)
return FALSE;
/* Registers set are dead, or are predicable. */
......
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