i seem to have hit a problem with my new conflict finder.
Ian Lance Taylor
iant@google.com
Fri Aug 17 14:58:00 GMT 2007
Kenneth Zadeck <zadeck@naturalbridge.com> writes:
> There are a lot of ways to handle this problem:
> 1) We could do a pass that breaks multiword sets into individual regs if
> some of those regs are dead. I guess the downside of this is that such
> insns may not match some patterns anymore.
>
> 2) We could turn off local. I was planning on testing this anyway
> because i want to see if local, at this point, is just making global do
> a bad job. However, my hope is that global or the new allocator from
> vlad is smart enough to properly handle the case where some parts of a
> multiword set are dead.
>
> 3) We could fix global/reload to not be stupid. Because, of course,
> you should be able to put something in that unused regs slot.
>
> Any comments.
I think the first step is to figure out what is going wrong. I don't
see any obvious reason why global or reload should fail in this way,
as long as the multi-word set is properly marked as such at the point
of the set itself.
Ian
More information about the Gcc
mailing list