]> granicus.if.org Git - clang/commitdiff
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.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@259183 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGenOpenCL/pipe_types.cl

index 547071cf85a333888f0d76d8a53120a3d2e807c8..9d8d5274a3ba5d2e9c0242bc8223229bfe5eb155 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;