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
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
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