Add target triple to CodeGenOpenCL/pipe_types.cl test case
authorUlrich Weigand <ulrich.weigand@de.ibm.com>
Fri, 29 Jan 2016 10:45:23 +0000 (10:45 +0000)
committerUlrich Weigand <ulrich.weigand@de.ibm.com>
Fri, 29 Jan 2016 10:45:23 +0000 (10:45 +0000)
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

clang/test/CodeGenOpenCL/pipe_types.cl

index 547071c..9d8d527 100644 (file)
@@ -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;