This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Reload producing lots of duplicate insns
- From: Kenneth Zadeck <zadeck at naturalbridge dot com>
- To: Steven Bosscher <stevenb dot gcc at gmail dot com>
- Cc: gcc at gcc dot gnu dot org, Daniel Berlin <dberlin at dberlin dot org>, Richard Sandiford <richard at codesourcery dot com>
- Date: Sun, 26 Feb 2006 08:23:10 -0500
- Subject: Re: Reload producing lots of duplicate insns
- References: <200602261203.29310.steven@gcc.gnu.org>
Steven Bosscher wrote:
> Hi,
>
> While teaching dce.c on the dataflow-branch to delete noop-moves,
> I noticed that most noop moves are produced by reload. It inserts
> duplicate insns for some reloads, postreload turns the duplicate
> reload into a simple reg-reg move (but the lhs and rhs are the same
> register of course), and then dce.c removes these moves because
> they are noop-moves.
>
>
Steven,
Did richard's untested patch not fix this?
Kenny