summaryrefslogtreecommitdiffstats
path: root/clang/lib/Frontend/CompilerInstance.cpp
diff options
context:
space:
mode:
authorAnastasia Stulova <anastasia.stulova@arm.com>2015-10-05 11:27:41 +0000
committerAnastasia Stulova <anastasia.stulova@arm.com>2015-10-05 11:27:41 +0000
commitb02e7835c569401d3359bf1d9f6b7eb5c979d228 (patch)
tree3f663a9d872ef489599ad00b0a8ce887b600fdc3 /clang/lib/Frontend/CompilerInstance.cpp
parent199e5232b3f57d007bf13d803bd2bf1260e71072 (diff)
downloadbcm5719-llvm-b02e7835c569401d3359bf1d9f6b7eb5c979d228.tar.gz
bcm5719-llvm-b02e7835c569401d3359bf1d9f6b7eb5c979d228.zip
[OpenCL] Fix casting a true boolean to an integer vector.
OpenCL v1.1 s6.2.2: for the boolean value true, every bit in the result vector should be set. This change treats the i1 value as signed for the purposes of performing the cast to integer, and therefore sign extend into the result. Patch by Neil Hickey! http://reviews.llvm.org/D13349 llvm-svn: 249301
Diffstat (limited to 'clang/lib/Frontend/CompilerInstance.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud