From 89a947da7212e0ed828e8a0529d4b764b4ff8030 Mon Sep 17 00:00:00 2001 From: Anastasia Stulova Date: Wed, 27 Sep 2017 17:03:35 +0000 Subject: [PATCH] [OpenCL] Fixed CL version in failing test. llvm-svn: 314317 --- clang/test/CodeGenOpenCL/vectorLoadStore.cl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clang/test/CodeGenOpenCL/vectorLoadStore.cl b/clang/test/CodeGenOpenCL/vectorLoadStore.cl index 2ec8735..cb35e6f 100644 --- a/clang/test/CodeGenOpenCL/vectorLoadStore.cl +++ b/clang/test/CodeGenOpenCL/vectorLoadStore.cl @@ -1,4 +1,4 @@ -// RUN: %clang_cc1 -triple "spir-unknown-unknown" %s -emit-llvm -O0 -o - | FileCheck %s +// RUN: %clang_cc1 -cl-std=CL2.0 -triple "spir-unknown-unknown" %s -emit-llvm -O0 -o - | FileCheck %s typedef char char2 __attribute((ext_vector_type(2))); typedef char char3 __attribute((ext_vector_type(3))); -- 2.7.4