From: Anastasia Stulova Date: Wed, 27 Sep 2017 17:03:35 +0000 (+0000) Subject: [OpenCL] Fixed CL version in failing test. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=dac8182904f34698a8627ecc802db3b94e372853;p=clang [OpenCL] Fixed CL version in failing test. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@314317 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/CodeGenOpenCL/vectorLoadStore.cl b/test/CodeGenOpenCL/vectorLoadStore.cl index 2ec87352d1..cb35e6f468 100644 --- a/test/CodeGenOpenCL/vectorLoadStore.cl +++ b/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)));