[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)
commita3c3d7b442181a37e8960fa939ce693ac56205a4
treeec4fd11742b83b18f63a8fba79c04a86e06f4fa3
parentfc5283092b3a1e354a9be28ba68437aef7cfb076
[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

llvm-svn: 310160
clang/lib/Headers/opencl-c.h