[cfe-dev] Fixed-size argument arrays in LLVM assembly

John McCall rjmccall at apple.com
Thu Feb 14 15:39:22 PST 2013


On Feb 14, 2013, at 3:44 AM, David Tweed <david.tweed at arm.com> wrote:
> | David, your approach offers a way to circumvent the problem from a
> | software view (and spilling to a large stack/heap). I guess it will
> | work with C99. It might also be directly usable in a JIT setting,
> | however, in general, the m argument (size) will not be known at
> | compile time.
> 
> Note that I was just clarifying John's point about array sizes not being in any way
> known in functions taking arrays, pointing out one obscure bit of syntax that means
> C does in theory provide a way to express a constraint on arrays.

Point taken;  I usually forget about the C99 array-parameter qualifiers.

John.



More information about the cfe-dev mailing list