summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorUlrich Weigand <ulrich.weigand@de.ibm.com>2016-01-29 10:45:23 +0000
committerUlrich Weigand <ulrich.weigand@de.ibm.com>2016-01-29 10:45:23 +0000
commit1a0c1804b3ddd449be3900b88529a94f9a40e759 (patch)
tree6502a75d49b841d3228360de47f6368c2f44d8c4
parent8c26e7c647fb20689bc3a41fcbae6888af04cdb6 (diff)
downloadbcm5719-llvm-1a0c1804b3ddd449be3900b88529a94f9a40e759.tar.gz
bcm5719-llvm-1a0c1804b3ddd449be3900b88529a94f9a40e759.zip
Add target triple to CodeGenOpenCL/pipe_types.cl test case
The test is failing on SystemZ since different IR is being generated due to platform ABI differences. Add a target triple. Fix suggested by Anastasia Stulova. llvm-svn: 259183
-rw-r--r--clang/test/CodeGenOpenCL/pipe_types.cl2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/CodeGenOpenCL/pipe_types.cl b/clang/test/CodeGenOpenCL/pipe_types.cl
index 547071cf85a..9d8d5274a3b 100644
--- a/clang/test/CodeGenOpenCL/pipe_types.cl
+++ b/clang/test/CodeGenOpenCL/pipe_types.cl
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -emit-llvm -O0 -cl-std=CL2.0 -o - %s | FileCheck %s
+// RUN: %clang_cc1 -triple x86_64-unknown-linux-gnu -emit-llvm -O0 -cl-std=CL2.0 -o - %s | FileCheck %s
// CHECK: %opencl.pipe_t = type opaque
typedef unsigned char __attribute__((ext_vector_type(3))) uchar3;
OpenPOWER on IntegriCloud