This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH]: Remove r2 from call_really_used_regs[]





The following patch removes r2 from call_really_used_regs[] when
appropriate so that it is no longer treated as killed across calls. This
patch along with Mostafa's,
http://gcc.gnu.org/ml/gcc-patches/2005-05/msg02856.html, allows gcse.c to
optimize TOC loads across calls.

Bootstrapped and regtested on powerpc64-unknown-linux-gnu with no failures.
OK for mainline?

-Pat

(See attached file: patch.tocreg)

Attachment: patch.tocreg
Description: Binary data


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]