]> granicus.if.org Git - clang/commitdiff
Merging r259183:
authorHans Wennborg <hans@hanshq.net>
Thu, 4 Feb 2016 18:20:19 +0000 (18:20 +0000)
committerHans Wennborg <hans@hanshq.net>
Thu, 4 Feb 2016 18:20:19 +0000 (18:20 +0000)
------------------------------------------------------------------------
r259183 | uweigand | 2016-01-29 02:45:23 -0800 (Fri, 29 Jan 2016) | 8 lines

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.

------------------------------------------------------------------------

git-svn-id: https://llvm.org/svn/llvm-project/cfe/branches/release_38@259808 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;