Re: [Qemu-devel] [PATCH v2] tcg: fix dead computation for repeated input arguments

2015-05-21 Thread Richard Henderson
On 05/21/2015 12:35 PM, Aurelien Jarno wrote: > When the same temp is used twice or more as an input argument to a TCG > instruction, the dead computation code doesn't recognize the second use > as a dead temp. This is because the temp is marked as live in the same > loop where dead inputs are chec

[Qemu-devel] [PATCH v2] tcg: fix dead computation for repeated input arguments

2015-05-21 Thread Aurelien Jarno
When the same temp is used twice or more as an input argument to a TCG instruction, the dead computation code doesn't recognize the second use as a dead temp. This is because the temp is marked as live in the same loop where dead inputs are checked. The fix is to split the loop in two parts. This