[PATCH] Fix AAPCS-VFP non-compliance when returning HFA from variadic function

Renato Golin renato.golin at linaro.org
Thu Jan 16 10:46:54 PST 2014


On 16 January 2014 17:32, Tim Northover <t.p.northover at gmail.com> wrote:

> The main barrier at the moment (I believe) is that structs are
> completely broken up by the time CodeGen gets involved.
>

That would be the biggest change, yes. They either get squashed into an
array of the size of the object or separate elements, and that's not just
ugly but makes it harder for optimizers to reason about aliasing and
layout. But for that, we'd need to fix the back-end first.

cheers,
--renato
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20140116/4c127032/attachment.html>


More information about the cfe-commits mailing list