On 30.01.2012 17:47, Paolo Bonzini wrote:
On 01/30/2012 09:44 AM, Andrey Belevantsev wrote:
Does this help?
That would fix the problem of multiple notes per insn (as we wanted to
do initially), but I didn't understand whether this is the real problem
or the problem is the reload not happy with disappearing notes. Also I
can't reproduce it with a cross to sparc64-linux -- when I put a
breakpoint on the code removing the notes, I find only similarly looking
insn 148 which gets removed from the df_analyze call at the start of
IRA. Though I see the fail from SPARC test results on the ML, so I
guess I'm missing something...
The REG_EQUAL note can go, but the REG_EQUIV note should not (by
definition: they are valid throughout the entire function). In fact, we
could just as well apply the loop to REG_EQUAL notes only but that would
have been a bit too clever and more risky.
Eric, Paolo, thanks for the explanations!
Andrey