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

Bill Wendling isanbard at gmail.com
Tue Feb 19 10:56:28 PST 2008


On Feb 19, 2008 1:15 AM, Duncan Sands <baldrick at free.fr> 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.
>
Ah ha! That would explain it. :-) I'll file a PR.

-bw



More information about the llvm-dev mailing list