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

Eli Friedman eli.friedman at gmail.com
Wed Nov 2 17:22:17 PDT 2011


On Wed, Nov 2, 2011 at 4:54 PM, Akira Hatanaka <ahatanaka at mips.com> wrote:
> +  // Add ((StructSize - LastOffset) / 64) args of type i64.
> +  for (unsigned N = (StructSize - LastOffset) / 64; N; --N)
> +    ArgList.push_back(I64);
> +
> +  // Whatever is left over goes into a structure consisting of sub-doubleword
> +  // types. For example, if the size of the remainder is 40-bytes,
> +  // struct {i32, i8} is added to ArgList.

I assume you mean bits?

>From looking over the ABI description, this doesn't look right...
everything should be using i64 chunks.

-Eli




More information about the cfe-commits mailing list