OSDN Git Service

[OpenCL][NFC] Improve OpenCL test file naming
authorSven van Haastregt <sven.vanhaastregt@arm.com>
Wed, 6 Jan 2021 14:16:44 +0000 (14:16 +0000)
committerSven van Haastregt <sven.vanhaastregt@arm.com>
Wed, 6 Jan 2021 14:16:44 +0000 (14:16 +0000)
Change "negative" into "invalid" and put "invalid" at the beginning of
the file name, following the bulk of the invalid tests in the
SemaOpenCL directory.

Use the "invalid-" prefix only for tests that contain only invalid
constructs.

Drop the "valid" suffix for CodeGen tests, as inputs in this directory
are supposed to be valid anyway.

clang/test/CodeGenOpenCL/vector_literals.cl [moved from clang/test/CodeGenOpenCL/vector_literals_valid.cl with 100% similarity]
clang/test/CodeGenOpenCL/vector_shufflevector.cl [moved from clang/test/CodeGenOpenCL/vector_shufflevector_valid.cl with 100% similarity]
clang/test/SemaOpenCL/invalid-pipes-cl1.2.cl [moved from clang/test/SemaOpenCL/pipes-1.2-negative.cl with 100% similarity]
clang/test/SemaOpenCL/invalid-vector-literals.cl [moved from clang/test/SemaOpenCL/vector_literals_invalid.cl with 100% similarity]
clang/test/SemaOpenCL/vector-conv.cl [moved from clang/test/SemaOpenCL/vector_conv_invalid.cl with 100% similarity]
clang/test/SemaOpenCLCXX/invalid-kernel.cl [moved from clang/test/SemaOpenCLCXX/kernel_invalid.cl with 100% similarity]