On Fri, May 17, 2013 at 10:25:01AM +0200, Jakub Jelinek wrote:
> Alternative, so far untested, patch is let the register is not dead splitter
> do its job always during split2 and just fix it up during peephole2, if the
> register was dead.

Now fully bootstrapped/regtested on x86_64-linux and i686-linux.

> 2013-05-17  Jakub Jelinek  <ja...@redhat.com>
> 
>       PR rtl-optimization/57281
>       PR rtl-optimization/57300
>       * config/i386/i386.md (extendsidi2_1 dead reg splitter): Remove.
>       (extendsidi2_1 peephole2s): Add instead 2 new peephole2s, that undo
>       what the other splitter did if the registers are dead.
> 
>       * gcc.dg/pr57300.c: New test.
>       * gcc.c-torture/execute/pr57281.c: New test.

        Jakub

Reply via email to