[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)
commit29d375f5ff27dc49c2c88c2ec1093cfcd826d449
tree66e022abe4b37a4984b11cd4ce5a959d9e9212f5
parent37ac4f865fba451d969bd9b4b1e28ce296e093da
[OpenCL][NFC] Improve OpenCL test file naming

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]