Re: Reload producing lots of duplicate insns

2006-02-27 Thread Richard Sandiford
Steven Bosscher <[EMAIL PROTECTED]> writes: > On Sunday 26 February 2006 14:23, Kenneth Zadeck wrote: >> Did richard's untested patch not fix this? > > No. That patch only makes postreload not emit those reg-reg moves, > but it does not prevent reload from producing the redundant insns in > the fi

Re: Reload producing lots of duplicate insns

2006-02-26 Thread Steven Bosscher
On Sunday 26 February 2006 14:23, Kenneth Zadeck wrote: > Did richard's untested patch not fix this? No. That patch only makes postreload not emit those reg-reg moves, but it does not prevent reload from producing the redundant insns in the first place. So that patch just papers over the problem

Re: Reload producing lots of duplicate insns

2006-02-26 Thread Kenneth Zadeck
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