[cfe-commits] r143596 - /cfe/trunk/lib/CodeGen/TargetInfo.cpp

Eli Friedman eli.friedman at gmail.com
Thu Jan 5 16:23:59 PST 2012


On Thu, Jan 5, 2012 at 4:21 PM, Hatanaka, Akira <ahatanaka at mips.com> wrote:
> Yes, we should insert padding for types that are not Struct too.
>
> Can we assume PaddingType is valid only if ABIArgInfo's TheKind is Direct? Or should other we be able to add PaddingType for other Kinds as well?

I'd say it's okay for the moment to only allow it for Direct, as long
as you document that in the code.  It should be easy enough to extend
if someone ends up needing it.

-Eli



More information about the cfe-commits mailing list