]> granicus.if.org Git - clang/commit
Builtins: Start adding half versions of math builtins
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Tue, 6 Aug 2019 03:28:37 +0000 (03:28 +0000)
committerMatt Arsenault <Matthew.Arsenault@amd.com>
Tue, 6 Aug 2019 03:28:37 +0000 (03:28 +0000)
commit4981f502b05b69237cafe012e90f222736175bf2
tree2795c57bf3d9b7675fe7dd9887510aebd1f0b5ab
parent26d2be17f068e993a0213347c158022cb5ab28b7
Builtins: Start adding half versions of math builtins

The implementation of the OpenCL builtin currently library uses 2
different hacks to get to the corresponding IR intrinsics from the
source. This will allow removal of those.

This is the set that is currently used (minus a few vector ones).

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@367973 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/Builtins.def
lib/CodeGen/CGBuiltin.cpp
test/CodeGenOpenCL/builtins-f16.cl [new file with mode: 0644]