r261422 - Fix handling of vaargs on PPC32 when going from regsave to overflow.

Dimitry Andric via cfe-commits cfe-commits at lists.llvm.org
Sat Feb 20 06:24:36 PST 2016


On 20 Feb 2016, at 09:31, Roman Divacky via cfe-commits <cfe-commits at lists.llvm.org> wrote:
> 
> Author: rdivacky
> Date: Sat Feb 20 02:31:24 2016
> New Revision: 261422
> 
> URL: http://llvm.org/viewvc/llvm-project?rev=261422&view=rev
> Log:
> Fix handling of vaargs on PPC32 when going from regsave to overflow.
> 
> It can happen that when we only have 1 more register left in the regsave
> area we need to store a value bigger than 1 register and therefore we
> go to the overflow area. In this case we have to leave the last slot
> in the regsave area unused and keep using overflow area. Do this
> by storing a limit value to the used register counter in the overflow block.
> 
> Issue diagnosed by and solution tested by Mark Millard!

Hans, this looks like a nice minor fix to have in 3.8.0.  Can we merge it, please?

-Dimitry

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 194 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160220/fab7447a/attachment-0001.sig>


More information about the cfe-commits mailing list