diff options
author | Aurelien Jarno <aurelien@aurel32.net> | 2012-09-11 12:26:23 +0200 |
---|---|---|
committer | Aurelien Jarno <aurelien@aurel32.net> | 2012-09-22 15:10:20 +0200 |
commit | b80bb016d8c8e9d74345a90ab6dac1cb547904e0 (patch) | |
tree | ce9f817c147f7329cb26efa1c5f5e34472446e78 /softmmu_defs.h | |
parent | 48b56ce1683dec02a29448f31861fca4dd0a0b33 (diff) |
tcg/optimize: check types in copy propagation
The copy propagation doesn't check the types of the temps during copy
propagation. However TCG is using the mov_i32 for the i64 to i32
conversion and thus the two are not equivalent.
With this patch tcg_opt_gen_mov() doesn't consider two temps of
different type as copies anymore.
So far it seems the optimization was not aggressive enough to trigger
this bug, but it will be triggered later in this series once the copy
propagation is improved.
Reviewed-by: Richard Henderson <rth@twiddle.net>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Diffstat (limited to 'softmmu_defs.h')
0 files changed, 0 insertions, 0 deletions