diff options
| author | Richard Henderson <richard.henderson@linaro.org> | 2024-12-09 17:48:02 -0600 |
|---|---|---|
| committer | Richard Henderson <richard.henderson@linaro.org> | 2025-06-30 07:42:38 -0600 |
| commit | 9ffa5420e927c327412c9e4ef113ad2f1a564aec (patch) | |
| tree | 38d4cfea83f3090f12efeded6301fe4ce252980d /hw/intc/omap_intc.c | |
| parent | 932522a9ddc1f7c7866009cd73eaf79452951b81 (diff) | |
| download | focaccia-qemu-9ffa5420e927c327412c9e4ef113ad2f1a564aec.tar.gz focaccia-qemu-9ffa5420e927c327412c9e4ef113ad2f1a564aec.zip | |
tcg/optimize: Simplify fold_and constant checks
If operand 2 is constant, then the computation of z_mask and a_mask will produce the same results as the explicit checks via fold_xi_to_i and fold_xi_to_x. Shift the call of fold_xx_to_x down below the ti_is_const(t2) check. Reviewed-by: Pierrick Bouvier <pierrick.bouvier@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'hw/intc/omap_intc.c')
0 files changed, 0 insertions, 0 deletions