tcg/optimize: Use fold_masks_zs in fold_andc
authorRichard Henderson <richard.henderson@linaro.org>
Mon, 9 Dec 2024 00:56:55 +0000 (18:56 -0600)
committerRichard Henderson <richard.henderson@linaro.org>
Tue, 24 Dec 2024 16:32:14 +0000 (08:32 -0800)
commit21e2b5f9fa79eb122cb7240436b84a56263547aa
tree7221348669ecb59f30128466e2333ce6f8d08b46
parent1ca7372c033d8d958add8f4f4c7d8e37c06e6ef7
tcg/optimize: Use fold_masks_zs in fold_andc

Avoid the use of the OptContext slots.  Find TempOptInfo once.
Avoid double inversion of the value of second const operand.

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