From 7ccfb74c8fcbd2f431889dd3b66132e5ecd058f8 Mon Sep 17 00:00:00 2001 From: Ulrich Weigand Date: Fri, 29 Jan 2016 10:45:23 +0000 Subject: [PATCH] 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/trunk@259183 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/CodeGenOpenCL/pipe_types.cl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/CodeGenOpenCL/pipe_types.cl b/test/CodeGenOpenCL/pipe_types.cl index 547071cf85..9d8d5274a3 100644 --- a/test/CodeGenOpenCL/pipe_types.cl +++ b/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; -- 2.40.0