From cb897457bbf98a7ee200cbcd508e43ef8e3ef74e Mon Sep 17 00:00:00 2001 From: Reid Kleckner Date: Tue, 9 Jul 2019 21:02:06 +0000 Subject: [PATCH] Use the Itanium C++ ABI for the pipe_builtin.cl test Certain OpenCL constructs cannot yet be mangled in the MS C++ ABI. Add a FIXME for it if anyone cares to implement it. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@365557 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/CodeGenOpenCL/pipe_builtin.cl | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/test/CodeGenOpenCL/pipe_builtin.cl b/test/CodeGenOpenCL/pipe_builtin.cl index 1ce2b9aaa7..1a001f9bd6 100644 --- a/test/CodeGenOpenCL/pipe_builtin.cl +++ b/test/CodeGenOpenCL/pipe_builtin.cl @@ -1,4 +1,6 @@ -// RUN: %clang_cc1 -emit-llvm -cl-ext=+cl_khr_subgroups -O0 -cl-std=c++ -o - %s | FileCheck %s +// RUN: %clang_cc1 -triple %itanium_abi_triple -emit-llvm -cl-ext=+cl_khr_subgroups -O0 -cl-std=c++ -o - %s | FileCheck %s +// FIXME: Add MS ABI manglings of OpenCL things and remove %itanium_abi_triple +// above to support OpenCL in the MS C++ ABI. // CHECK-DAG: %opencl.pipe_ro_t = type opaque // CHECK-DAG: %opencl.pipe_wo_t = type opaque -- 2.50.1