On 12/8/2014 3:01 PM, Jeff Law wrote:
The above is wrong for sibcalls. Sibcall arguments are relative to
the incoming argument pointer. Is this always the frame pointer?
I don't think it's always the frame pointer. Don't we use an argument
pointer for the PA64 runtime? If I recall, it was the only port that
had a non-eliminable argument pointer at the time.
I don't think PA64 is an argument against this as sibcalls don't
work in the PA64 runtime (they are disabled in pa.c) because the
argument pointer isn't a
fixed register. I guess in theory it could be fixed if it was saved and
restored across calls.
DSE as it stands doesn't look at argument pointer based stores and I
suspect they would
be deleted with current code.
Dave
--
John David Anglin dave.ang...@bell.net