Add Microsoft Mangling for OpenCL Half Type
authorErich Keane <erich.keane@intel.com>
Tue, 1 May 2018 14:16:15 +0000 (14:16 +0000)
committerErich Keane <erich.keane@intel.com>
Tue, 1 May 2018 14:16:15 +0000 (14:16 +0000)
commit14c1085317cf5f44c773908535fe2220839b6e4f
treec20cfb23e5d68c366ebacfb1c9155a9263eebdfb
parentf6b81dae9e9cf5db81eb018069569892e179cdbd
Add Microsoft Mangling for OpenCL Half Type

Half-type mangling is accomplished following the method introduced by Erich
Keane for mangling _Float16. Updated the half.cl LIT test to cover this
particular case.

Patch By: vbridgers

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

llvm-svn: 331263
clang/lib/AST/MicrosoftMangle.cpp
clang/test/CodeGenOpenCL/half.cl