This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Reload producing lots of duplicate insns


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]