diff options
author | Joey Gouly <joey.gouly@arm.com> | 2013-03-08 09:42:32 +0000 |
---|---|---|
committer | Joey Gouly <joey.gouly@arm.com> | 2013-03-08 09:42:32 +0000 |
commit | aba589ccebb1f4f873d9682bb8c96aab228b50f4 (patch) | |
tree | d68440bd7e8a2c8dee715f7f2e9c51c01b647074 /clang/lib/CodeGen/CodeGenFunction.h | |
parent | 48f2a724355f922968c8f2137911749a68f53a5d (diff) | |
download | bcm5719-llvm-aba589ccebb1f4f873d9682bb8c96aab228b50f4.tar.gz bcm5719-llvm-aba589ccebb1f4f873d9682bb8c96aab228b50f4.zip |
Add support for the OpenCL attribute 'vec_type_hint'.
Patch by Murat Bolat!
llvm-svn: 176686
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.h')
-rw-r--r-- | clang/lib/CodeGen/CodeGenFunction.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/clang/lib/CodeGen/CodeGenFunction.h b/clang/lib/CodeGen/CodeGenFunction.h index 2be8dcc4a65..0155f033e6f 100644 --- a/clang/lib/CodeGen/CodeGenFunction.h +++ b/clang/lib/CodeGen/CodeGenFunction.h @@ -1214,6 +1214,9 @@ private: /// Add a kernel metadata node to the named metadata node 'opencl.kernels'. /// In the kernel metadata node, reference the kernel function and metadata /// nodes for its optional attribute qualifiers (OpenCL 1.1 6.7.2): + /// - A node for the vec_type_hint(<type>) qualifier contains string + /// "vec_type_hint", an undefined value of the <type> data type, + /// and a Boolean that is true if the <type> is integer and signed. /// - A node for the work_group_size_hint(X,Y,Z) qualifier contains string /// "work_group_size_hint", and three 32-bit integers X, Y and Z. /// - A node for the reqd_work_group_size(X,Y,Z) qualifier contains string |