On 9/7/26 8:43 AM, [email protected] wrote:
From: Kyrylo Tkachov <[email protected]>

find_if_case_1 and find_if_case_2 open with the same twenty-two lines: the
hot/cold partition check on all three blocks, its long explanatory comment,
and the test that TEST_BB ends in a plain conditional jump.

Move them into if_case_blocks_ok_p.  No functional change.

gcc/ChangeLog:

        * ifcvt.cc (if_case_blocks_ok_p): New function.
        (find_if_case_1, find_if_case_2): Use it.
OK.
jeff

Reply via email to