Andreas Krebbel wrote:
Ok I understand that implementing the special lifeness analyzers in global alloc
using the df.c framework would ease reusing it somewhere else. But my question
was more basic.
So do you agree that using one lifeness analyzer for checking what
an optimizer step has done based on a second lifeness analyzers output
is wrong? If so what is the way to fix this? Going back to the normal analyzer
to
be used in global alloc would make global alloc creating worse code. But on the
other hand
using the global alloc lifeness analyzer everywhere else would be a change
which nobody would agree with in the current development stage.
Jim Wilson once suggested we should just emit insns to make sure every
register is initialized and be done with it - problem solved. I had
started to work on that, if people think it's a good idea I can dig that
stuff out again.
Bernd