[PATCH] D39129: [OpenCL] Fix generation of constant address space sampler in function scope
Alexey Bader via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Sat Oct 21 06:03:30 PDT 2017
bader added a comment.
@Anastasia, during the discussion of similar fix (https://reviews.llvm.org/D34342).
I found another bug in the CodeGen library. Do you have time to fix it too?
Here is the reproducer from the old review request:
int get_sampler_initializer(void);
kernel void foo() {
const sampler_t const_smp_func_init = get_sampler_initializer();
}
https://reviews.llvm.org/D39129
More information about the cfe-commits
mailing list