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

merge_if_block folds the THEN block and the ELSE block into the combined
block, and does the same eighteen lines for each: drop the now-stale BARRIER
that followed the block, merge, and count the change.

Move them into merge_block_into_combo.  The callers keep the guards and the
comments that explain why each block may or may not be there.  No functional
change.

gcc/ChangeLog:

        * ifcvt.cc (merge_block_into_combo): New function.
        (merge_if_block): Use it for the THEN and the ELSE block.

Signed-off-by: Kyrylo Tkachov <[email protected]>
OK
jeff

Reply via email to