diff options
author | Peter Collingbourne <peter@pcc.me.uk> | 2011-02-15 19:46:41 +0000 |
---|---|---|
committer | Peter Collingbourne <peter@pcc.me.uk> | 2011-02-15 19:46:41 +0000 |
commit | db27d82dee4b66d1d3571bb3a308484ba4bb8294 (patch) | |
tree | 579f8ae8331ab757c0b57ce316ea3bbdb77b4ca5 | |
parent | 84bccea1ad9fd8bc1f4ec3d1fc5dd8d15dabffbc (diff) |
OpenCL: standardise naming of test cases
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@125590 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | test/CodeGenOpenCL/ext-vector-shuffle.cl (renamed from test/CodeGen/ext-vector-shuffle.c) | 6 | ||||
-rw-r--r-- | test/CodeGenOpenCL/single-precision-constant.cl (renamed from test/CodeGen/cl-single-precision-constant.c) | 2 | ||||
-rw-r--r-- | test/Parser/opencl-storage-class.cl (renamed from test/Parser/cl_storage_class.cl) | 2 | ||||
-rw-r--r-- | test/SemaOpenCL/cond.cl (renamed from test/Sema/opencl-cond.c) | 2 | ||||
-rw-r--r-- | test/SemaOpenCL/init.cl (renamed from test/Sema/opencl-init.c) | 2 |
5 files changed, 7 insertions, 7 deletions
diff --git a/test/CodeGen/ext-vector-shuffle.c b/test/CodeGenOpenCL/ext-vector-shuffle.cl index d26602ae8d..ee88ba3c06 100644 --- a/test/CodeGen/ext-vector-shuffle.c +++ b/test/CodeGenOpenCL/ext-vector-shuffle.cl @@ -1,6 +1,6 @@ -// RUN: %clang_cc1 %s -x cl -cl-opt-disable -emit-llvm -o - | not grep 'extractelement' -// RUN: %clang_cc1 %s -x cl -cl-opt-disable -emit-llvm -o - | not grep 'insertelement' -// RUN: %clang_cc1 %s -x cl -cl-opt-disable -emit-llvm -o - | grep 'shufflevector' +// RUN: %clang_cc1 %s -cl-opt-disable -emit-llvm -o - | not grep 'extractelement' +// RUN: %clang_cc1 %s -cl-opt-disable -emit-llvm -o - | not grep 'insertelement' +// RUN: %clang_cc1 %s -cl-opt-disable -emit-llvm -o - | grep 'shufflevector' typedef __attribute__(( ext_vector_type(2) )) float float2; typedef __attribute__(( ext_vector_type(4) )) float float4; diff --git a/test/CodeGen/cl-single-precision-constant.c b/test/CodeGenOpenCL/single-precision-constant.cl index adde19361b..62b37c1361 100644 --- a/test/CodeGen/cl-single-precision-constant.c +++ b/test/CodeGenOpenCL/single-precision-constant.cl @@ -1,4 +1,4 @@ -// RUN: %clang_cc1 %s -x cl -cl-single-precision-constant -emit-llvm -o - | FileCheck %s +// RUN: %clang_cc1 %s -cl-single-precision-constant -emit-llvm -o - | FileCheck %s float fn(float f) { // CHECK: fmul float diff --git a/test/Parser/cl_storage_class.cl b/test/Parser/opencl-storage-class.cl index 5db8f4befa..d479358f00 100644 --- a/test/Parser/cl_storage_class.cl +++ b/test/Parser/opencl-storage-class.cl @@ -1,4 +1,4 @@ -// RUN: %clang_cc1 %s -x cl -verify -fsyntax-only +// RUN: %clang_cc1 %s -verify -fsyntax-only void test_storage_class_specs() { diff --git a/test/Sema/opencl-cond.c b/test/SemaOpenCL/cond.cl index d654a152c8..79dc82db19 100644 --- a/test/Sema/opencl-cond.c +++ b/test/SemaOpenCL/cond.cl @@ -1,4 +1,4 @@ -// RUN: %clang_cc1 %s -x cl -verify -pedantic -fsyntax-only +// RUN: %clang_cc1 %s -verify -pedantic -fsyntax-only typedef __attribute__((ext_vector_type(4))) float float4; diff --git a/test/Sema/opencl-init.c b/test/SemaOpenCL/init.cl index 3d116bd0da..b3ecfecb5d 100644 --- a/test/Sema/opencl-init.c +++ b/test/SemaOpenCL/init.cl @@ -1,4 +1,4 @@ -// RUN: %clang_cc1 %s -x cl -verify -pedantic -fsyntax-only +// RUN: %clang_cc1 %s -verify -pedantic -fsyntax-only typedef float float8 __attribute((ext_vector_type(8))); |