r314317 - [OpenCL] Fixed CL version in failing test.

Anastasia Stulova via cfe-commits cfe-commits at lists.llvm.org
Wed Sep 27 10:03:35 PDT 2017


Author: stulova
Date: Wed Sep 27 10:03:35 2017
New Revision: 314317

URL: http://llvm.org/viewvc/llvm-project?rev=314317&view=rev
Log:
[OpenCL] Fixed CL version in failing test.


Modified:
    cfe/trunk/test/CodeGenOpenCL/vectorLoadStore.cl

Modified: cfe/trunk/test/CodeGenOpenCL/vectorLoadStore.cl
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenOpenCL/vectorLoadStore.cl?rev=314317&r1=314316&r2=314317&view=diff
==============================================================================
--- cfe/trunk/test/CodeGenOpenCL/vectorLoadStore.cl (original)
+++ cfe/trunk/test/CodeGenOpenCL/vectorLoadStore.cl Wed Sep 27 10:03:35 2017
@@ -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)));




More information about the cfe-commits mailing list