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.
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.