diff options
author | Erich Keane <erich.keane@intel.com> | 2018-05-01 14:16:15 +0000 |
---|---|---|
committer | Erich Keane <erich.keane@intel.com> | 2018-05-01 14:16:15 +0000 |
commit | e52b234c11e18c0ec359184c9cbf24b7ed10ffff (patch) | |
tree | a94c9c0e49264577bcbffecda3bd7f67499700d1 /test/CodeGenOpenCL | |
parent | 635c365d6ac81051623d5103a810327f2dc69baf (diff) |
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
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@331263 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGenOpenCL')
-rw-r--r-- | test/CodeGenOpenCL/half.cl | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/CodeGenOpenCL/half.cl b/test/CodeGenOpenCL/half.cl index a10ba4d7f9..eae8cdcb03 100644 --- a/test/CodeGenOpenCL/half.cl +++ b/test/CodeGenOpenCL/half.cl @@ -1,4 +1,5 @@ // RUN: %clang_cc1 %s -emit-llvm -o - -triple spir-unknown-unknown | FileCheck %s +// RUN: %clang_cc1 %s -emit-llvm -o - -triple x86_64-pc-win32 | FileCheck %s #pragma OPENCL EXTENSION cl_khr_fp16 : enable |