This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/51982] Shrink-wrapping opportunity
- From: "amodra at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 06 Feb 2012 07:07:41 +0000
- Subject: [Bug middle-end/51982] Shrink-wrapping opportunity
- Auto-submitted: auto-generated
- References: <bug-51982-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51982
Alan Modra <amodra at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC|amodra at gcc dot gnu.org |amodra at gmail dot com
--- Comment #2 from Alan Modra <amodra at gmail dot com> 2012-02-06 07:07:41 UTC ---
I confirm comment #2. We do have incoming args being saved in callee-saved
regs and those callee-saved regs then being used.
However, there are additional problems to solve before this function will ever
be shrink-wrapped. We have uses of callee-saved regs for more than just
incoming args. For instance, "mask" gets put in r24 and "ep0" in r25 in the
first bb, and a little later, "i" in r29 and others are used for other
intermediate values.