Re: [Qemu-devel] [PATCH v2 2/6] Add copy and constant propagation.

2011-07-07 Thread Kirill Batuzov
On Fri, 10 Jun 2011, Richard Henderson wrote: > > +/* Do copy propagation */ > > +if (!(def->flags & (TCG_OPF_CALL_CLOBBER | TCG_OPF_SIDE_EFFECTS))) > > { > > Why are you suppressing copy propagation in this way? I see no reason for it. > This was suggested by Aurelien Jarno.

Re: [Qemu-devel] [PATCH v2 2/6] Add copy and constant propagation.

2011-06-10 Thread Richard Henderson
On 06/09/2011 03:45 AM, Kirill Batuzov wrote: > Make tcg_constant_folding do copy and constant propagation. It is a > preparational work before actual constant folding. > > Signed-off-by: Kirill Batuzov > --- > tcg/optimize.c | 161 > >

[Qemu-devel] [PATCH v2 2/6] Add copy and constant propagation.

2011-06-09 Thread Kirill Batuzov
Make tcg_constant_folding do copy and constant propagation. It is a preparational work before actual constant folding. Signed-off-by: Kirill Batuzov --- tcg/optimize.c | 161 1 files changed, 161 insertions(+), 0 deletions(-) diff --git