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

Bill Wendling isanbard at gmail.com
Tue Feb 19 11:02:50 PST 2008


On Feb 19, 2008 9:24 AM, Dale Johannesen <dalej at apple.com> wrote:
> 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).
>
Could it be partially implemented on some of the other machines? I
filed PR2068 to keep track of this.

-bw



More information about the llvm-dev mailing list