]> granicus.if.org Git - clang/commit
[OpenCL] Remove extra select functions from opencl-c.h
authorYaxun Liu <Yaxun.Liu@amd.com>
Sat, 5 Aug 2017 02:23:47 +0000 (02:23 +0000)
committerYaxun Liu <Yaxun.Liu@amd.com>
Sat, 5 Aug 2017 02:23:47 +0000 (02:23 +0000)
commitb9952538c1ef89d8d7c881fb9a98c0c3d4018d14
tree33ca4b9277d9620efb5dda031edcdc4279598589
parent7ee7a5652f5d2dfde58bc9c813761c2b4a109ae7
[OpenCL] Remove extra select functions from opencl-c.h

OpenCL spec v2.0 s6.13.6:

gentype select (gentype a,
gentype b,
igentype c)

gentype select (gentype a,
gentype b,
ugentype c)

igentype and ugentype must have the same number
of elements and bits as gentype.

Differential Revision: https://reviews.llvm.org/D36259

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@310160 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Headers/opencl-c.h