tcg/optimize: Split out finish_bb, finish_ebb
authorRichard Henderson <richard.henderson@linaro.org>
Sun, 8 Dec 2024 13:45:11 +0000 (07:45 -0600)
committerRichard Henderson <richard.henderson@linaro.org>
Tue, 24 Dec 2024 15:32:50 +0000 (07:32 -0800)
commit1526855c012a7f1314278e4f8fbb0741ec74a372
tree936448bc6dc2e75f6311bfb0c781d4cd42f276d7
parentdbf408b6678a6076bd2412159d0ce665dce6acd0
tcg/optimize: Split out finish_bb, finish_ebb

Call them directly from the opcode switch statement in tcg_optimize,
rather than in finish_folding based on opcode flags.  Adjust folding
of conditional branches to match.

Reviewed-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
tcg/optimize.c