ifcvt.c (total_bb_rtx_cost): New function.
authorDavid Edelsohn <edelsohn@gnu.org>
Wed, 7 Jul 2004 21:35:44 +0000 (21:35 +0000)
committerDavid Edelsohn <dje@gcc.gnu.org>
Wed, 7 Jul 2004 21:35:44 +0000 (17:35 -0400)
commit252910550c943c45e2868295360465a121144795
treedbb361dfc49d1eb1dbbd122b1260387b567b7a4b
parent951661a1a5a4271ba4975cde0f0093af99861acf
ifcvt.c (total_bb_rtx_cost): New function.

        * ifcvt.c (total_bb_rtx_cost): New function.
        (find_if_case_1): Compare rtx_cost of basic block to cost of
        BRANCH_COST insns.
        (find_if_case_2): Same.

From-SVN: r84233
gcc/ChangeLog
gcc/ifcvt.c