tcg/optimize: Split out do_constant_folding_cond1
commit246c4b72fa88419a45ff3d4b8e8fef405337bc1a
authorRichard Henderson <richard.henderson@linaro.org>
Tue, 24 Oct 2023 23:36:50 +0000 (24 16:36 -0700)
committerRichard Henderson <richard.henderson@linaro.org>
Sat, 3 Feb 2024 23:43:50 +0000 (3 23:43 +0000)
treee4d9937f83dc23518e103bb6186b2cb876b0e54b
parent27cdb85d0696a582d5710bb493a5eb904efba7a0
tcg/optimize: Split out do_constant_folding_cond1

Handle modifications to the arguments and condition
in a single place.

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
tcg/optimize.c