tcg/optimize: Compute sign mask in fold_deposit
authorRichard Henderson <richard.henderson@linaro.org>
Fri, 20 Dec 2024 01:56:05 +0000 (17:56 -0800)
committerRichard Henderson <richard.henderson@linaro.org>
Tue, 24 Dec 2024 16:32:14 +0000 (08:32 -0800)
commitedb832cb51dd98d955dc33973063853bd333752e
treef40fd06a520b9f5bddc5d579b79740e7ee648262
parentc7739ab83e02b93cb15f54984c3f66ba3c5bd8d2
tcg/optimize: Compute sign mask in fold_deposit

The input which overlaps the sign bit of the output can
have its input s_mask propagated to the output s_mask.

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