summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorAlexey Bader <alexey.bader@intel.com>2017-11-15 11:38:17 +0000
committerAlexey Bader <alexey.bader@intel.com>2017-11-15 11:38:17 +0000
commitbed400957bfec6f342a65646f4dd7c5e7f270c95 (patch)
treeecf13a8feb2c3d63c4327723bfd4bb9a246b5823 /llvm/lib
parent294e689509fac4ce335b5abae944684b76ee7cdc (diff)
downloadbcm5719-llvm-bed400957bfec6f342a65646f4dd7c5e7f270c95.tar.gz
bcm5719-llvm-bed400957bfec6f342a65646f4dd7c5e7f270c95.zip
[OpenCL] Fix code generation of function-scope constant samplers.
Summary: Constant samplers are handled as static variables and clang's code generation library, which leads to llvm::unreachable. We bypass emitting sampler variable as static since it's translated to a function call later. Reviewers: yaxunl, Anastasia Reviewed By: yaxunl, Anastasia Subscribers: cfe-commits Differential Revision: https://reviews.llvm.org/D34342 llvm-svn: 318290
Diffstat (limited to 'llvm/lib')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud