diff options
| author | Richard Henderson <richard.henderson@linaro.org> | 2021-08-25 08:00:20 -0700 |
|---|---|---|
| committer | Richard Henderson <richard.henderson@linaro.org> | 2021-10-27 17:11:22 -0700 |
| commit | 67f84c962166093f26a1f2c66034a44cf294e809 (patch) | |
| tree | 8a8889a3623728a7d689612f107d75dedc0a6571 /scripts/qapi/error.py | |
| parent | e8679955ec0791122a6c22d48ae760a215204f6a (diff) | |
| download | focaccia-qemu-67f84c962166093f26a1f2c66034a44cf294e809.tar.gz focaccia-qemu-67f84c962166093f26a1f2c66034a44cf294e809.zip | |
tcg/optimize: Add type to OptContext
Compute the type of the operation early. There are at least 4 places that used a def->flags ladder to determine the type of the operation being optimized. There were two places that assumed !TCG_OPF_64BIT means TCG_TYPE_I32, and so could potentially compute incorrect results for vector operations. Reviewed-by: Luis Pires <luis.pires@eldorado.org.br> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'scripts/qapi/error.py')
0 files changed, 0 insertions, 0 deletions