[LLVMdev] 2008-01-25-ByValReadNone.c Failure

Dale Johannesen dalej at apple.com
Tue Feb 19 09:24:25 PST 2008


On Feb 19, 2008, at 1:15 AM, Duncan Sands wrote:

> Hi Bill,
>
>> As you can see in it, there are "readonly" attributes on the  
>> functions.
>
> this test uses a huge array in order to be sure that it would be  
> passed
> 'byval' and not as thousands of individual integer parameters.  On  
> your
> machine it is passed as thousands of individual integer parameters!   
> That
> is the bug.

Right now byval is really only implemented on x86.   The more  
interesting question IMO is why this test isn't failing in the nightly  
PPC32 test runs.  It ought to be (it fails for me locally on ppc, and  
has for a while, probably always).





More information about the llvm-dev mailing list