[PATCH] D34342: [OpenCL] Fix code generation of function-scope constant samplers.

Alexey Bader via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Jun 20 09:05:34 PDT 2017


bader added a comment.

Wow...
Nice catch.
For some reason I can't reproduce the problem neither.
I will drop source code change, but I'd like to modify the test anyway.
https://reviews.llvm.org/rL277024 added test/CodeGenOpenCL/sampler.cl and modified test/SemaOpenCL/sampler_t.cl.
I want to move the parts of the test/SemaOpenCL/sampler_t.cl, which are supposed to pass semantic analysis to test/CodeGenOpenCL/sampler.cl and validate the LLVM IR after code generation.
Are you OK with this?


https://reviews.llvm.org/D34342





More information about the cfe-commits mailing list