diff options
author | Richard Henderson <richard.henderson@linaro.org> | 2024-12-09 17:56:10 -0600 |
---|---|---|
committer | Richard Henderson <richard.henderson@linaro.org> | 2025-06-30 07:42:38 -0600 |
commit | 3c75cb4d64811cfba2c03d66328d838cc72f8355 (patch) | |
tree | e5045bf89a2175e26213602442f8a8dced05f12f /scripts/rust/rustc_args.py | |
parent | 9ffa5420e927c327412c9e4ef113ad2f1a564aec (diff) | |
download | qemu-3c75cb4d64811cfba2c03d66328d838cc72f8355.zip qemu-3c75cb4d64811cfba2c03d66328d838cc72f8355.tar.gz qemu-3c75cb4d64811cfba2c03d66328d838cc72f8355.tar.bz2 |
tcg/optimize: Simplify fold_andc constant checks
If operand 2 is constant, then the computation of z_mask and a_mask
will produce the same results as the explicit check via fold_xi_to_i.
Shift the calls of fold_xx_to_i and fold_ix_to_not down below the
i2->is_const check.
Reviewed-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'scripts/rust/rustc_args.py')
0 files changed, 0 insertions, 0 deletions