aboutsummaryrefslogtreecommitdiff
path: root/arch_init.h
diff options
context:
space:
mode:
authorAurelien Jarno <aurelien@aurel32.net>2012-09-11 12:26:23 +0200
committerAurelien Jarno <aurelien@aurel32.net>2012-09-22 15:10:20 +0200
commitb80bb016d8c8e9d74345a90ab6dac1cb547904e0 (patch)
treece9f817c147f7329cb26efa1c5f5e34472446e78 /arch_init.h
parent48b56ce1683dec02a29448f31861fca4dd0a0b33 (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 'arch_init.h')
0 files changed, 0 insertions, 0 deletions