[PATCH] D46013: [ARM] Conform to AAPCS when passing overaligned composites as arguments

John McCall via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Jun 1 13:43:18 PDT 2018


rjmccall added a comment.

In https://reviews.llvm.org/D46013#1119513, @efriedma wrote:

> > I'm not sure it's appropriate to impose this as an overhead on all targets.
>
> You mean the overhead of increasing the size of TypeInfo?  That's fair.


Yeah.  It seems like something that could be pretty easily computed retroactively in the places that need it.  It might be okay to have a ASTContext-level cache for it; that cache would just stay empty in practice for most compiler invocations.


https://reviews.llvm.org/D46013





More information about the cfe-commits mailing list