tcg/optimize: Copy mask writeback to fold_masks
authorRichard Henderson <richard.henderson@linaro.org>
Mon, 9 Dec 2024 00:26:48 +0000 (18:26 -0600)
committerRichard Henderson <richard.henderson@linaro.org>
Tue, 24 Dec 2024 15:32:50 +0000 (07:32 -0800)
commit56e06ecfa5f13816b68b850f4ce46d8756e2c32b
tree0f2b5cb3e4773075b8187aefc5f27f278a15a4aa
parent045ace35a8587f9552b528595f2d67a76b77f1b5
tcg/optimize: Copy mask writeback to fold_masks

Use of fold_masks should be restricted to those opcodes that
can reliably make use of it -- those with a single output,
and from higher-level folders that set up the masks.
Prepare for conversion of each folder in turn.

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