Comment 3 for bug 1032203

Revision history for this message
Pekka Jääskeläinen (pekka-jaaskelainen) wrote :

int test(__local int* x)
{
    return *x++;
}

__kernel void foo(void) {
    __local int i[2];
    i[0] = test(&i[0]);
}

A minimized test case that produces the constant GEP to a function call argument list.