tcg: Improve move ops in liveness_pass_2
commit61f15c487fc2aea14f6b0e52c459ae8b7d252a65
authorRichard Henderson <richard.henderson@linaro.org>
Thu, 23 Apr 2020 19:27:53 +0000 (23 12:27 -0700)
committerRichard Henderson <richard.henderson@linaro.org>
Tue, 2 Jun 2020 15:42:37 +0000 (2 08:42 -0700)
treebcfafe925ae44b003f0bc65687cbc53cafcdc85e
parentcea94ba36d858166fdf749f9894573449c3dafa6
tcg: Improve move ops in liveness_pass_2

If the output of the move is dead, then the last use is in
the store.  If we propagate the input to the store, then we
can remove the move opcode entirely.

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
tcg/tcg.c