summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGenOpenCL/pipe_builtin.cl
diff options
context:
space:
mode:
authorReid Kleckner <rnk@google.com>2019-07-09 21:02:06 +0000
committerReid Kleckner <rnk@google.com>2019-07-09 21:02:06 +0000
commit9b28d9c3318bbceb758b9f1b014a5be2e80c1827 (patch)
treee5537dffcdcb99cbd553d215e46b707589efbb63 /clang/test/CodeGenOpenCL/pipe_builtin.cl
parent8777df5270ae4549515b7b2895230a919541bbe0 (diff)
downloadbcm5719-llvm-9b28d9c3318bbceb758b9f1b014a5be2e80c1827.tar.gz
bcm5719-llvm-9b28d9c3318bbceb758b9f1b014a5be2e80c1827.zip
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. llvm-svn: 365557
Diffstat (limited to 'clang/test/CodeGenOpenCL/pipe_builtin.cl')
-rw-r--r--clang/test/CodeGenOpenCL/pipe_builtin.cl4
1 files changed, 3 insertions, 1 deletions
diff --git a/clang/test/CodeGenOpenCL/pipe_builtin.cl b/clang/test/CodeGenOpenCL/pipe_builtin.cl
index 1ce2b9aaa7f..1a001f9bd61 100644
--- a/clang/test/CodeGenOpenCL/pipe_builtin.cl
+++ b/clang/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
OpenPOWER on IntegriCloud