llvm-project/clang/test/SemaOpenCL
Sven van Haastregt 4fbf1ab165 Allow clk_event_t comparisons
Also rename `invalid-clk-events-cl2.0.cl` to `clk_event_t.cl` and
repurpose it to include both positive and negative clk_event_t tests.

Differential Revision: https://reviews.llvm.org/D53871

llvm-svn: 345825
2018-11-01 12:43:00 +00:00
..
access-qualifier.cl [OpenCL] Relax diagnostics on OpenCL access qualifiers 2018-09-06 15:10:26 +00:00
address-spaces-conversions-cl2.0.cl [OpenCL] Fixed address space cast in C style cast of C++ parsing 2018-10-10 16:05:22 +00:00
address-spaces.cl [OpenCL] Fixed address space cast in C style cast of C++ parsing 2018-10-10 16:05:22 +00:00
amdgpu-attrs.cl
arithmetic-conversions.cl [OpenCL] An error shall occur if any scalar operand has greater rank than the type of the vector element 2017-05-30 05:32:03 +00:00
array-init.cl [OpenCL] Handle OpenCL specific subelement types 2017-05-10 10:28:34 +00:00
array-parameters.cl
as_type.cl [OpenCL] Implement as_type operator as alias of __builtin_astype. 2017-03-16 12:15:10 +00:00
atomic-init.cl [OpenCL] Extended diagnostics for atomic initialization 2017-04-05 12:47:10 +00:00
atomic-ops.cl __c11_atomic_load's _Atomic can be const 2018-08-02 17:35:46 +00:00
block-array-capturing.cl Revert r326937 "[OpenCL] Remove block invoke function from emitted block literal struct" 2018-10-02 13:02:24 +00:00
bool-vectors.cl
builtin.cl
builtins-amdgcn-error-ci.cl AMDGPU: Add another missing builtin 2018-08-09 22:18:37 +00:00
builtins-amdgcn-error-f16.cl AMDGPU: Add fmed3 half builtin 2017-02-22 20:55:59 +00:00
builtins-amdgcn-error-gfx9.cl AMDGPU: Add fmed3 half builtin 2017-02-22 20:55:59 +00:00
builtins-amdgcn-error-vi.cl AMDGPU: Add builtin for s_dcache_wb 2018-08-07 07:49:13 +00:00
builtins-amdgcn-error.cl AMDGPU: add __builtin_amdgcn_update_dpp 2018-10-17 02:32:26 +00:00
cl20-device-side-enqueue.cl [OpenCL] Remove unwanted signedness conversion from tests 2018-10-19 09:01:37 +00:00
clang-builtin-version.cl Revert "We allow implicit function declarations as an extension in all C dialects. Remove OpenCL special case." 2018-09-24 14:21:56 +00:00
clk_event_t.cl Allow clk_event_t comparisons 2018-11-01 12:43:00 +00:00
cond.cl [OpenCL] An error shall occur if any scalar operand has greater rank than the type of the vector element 2017-05-30 05:32:03 +00:00
convergent.cl
endian-attr.cl
event_t.cl [OpenCL] Prohibit using reserve_id_t in program scope. 2016-11-29 10:21:40 +00:00
event_t_overload.cl
ext_vectors.cl
extension-begin.cl [OpenCL] Fix serialization of OpenCLExtensionDecls 2018-10-29 11:14:01 +00:00
extension-begin.h [OpenCL] Fix serialization of OpenCLExtensionDecls 2018-10-29 11:14:01 +00:00
extension-version.cl [OpenCL] Improve extension-version.cl and to_addr_builtin.cl tests 2018-09-27 13:20:29 +00:00
extensions.cl [OpenCL] Traverse vector types for ocl extensions support 2018-09-03 11:43:22 +00:00
func.cl [OpenCL] Allow function declaration with empty argument list. 2017-10-11 11:16:31 +00:00
half.cl
images.cl [OpenCL] Test on image access modifiers and image type can only be a type of a function argument. 2017-07-06 07:06:11 +00:00
init.cl
invalid-assignment-constant-address-space.cl [OpenCL] Map default address space to alloca address space 2017-04-11 17:24:23 +00:00
invalid-block.cl [OpenCL] Handle taking an address of block captures. 2017-09-07 17:00:33 +00:00
invalid-constant.cl
invalid-image.cl
invalid-kernel-attrs.cl Merge two attribute diagnostics into one 2018-09-17 10:39:46 +00:00
invalid-kernel-parameters.cl [OpenCL] Forbid size dependent types used as kernel arguments 2018-07-31 20:26:43 +00:00
invalid-kernel.cl [OpenCL] Improve address space diagnostics. 2016-12-13 14:07:23 +00:00
invalid-pipe-builtin-cl2.0.cl [OpenCL] Enable subgroup extension in tests 2017-07-31 15:50:27 +00:00
invalid-pipes-cl2.0.cl [OpenCL] Allow function declaration with empty argument list. 2017-10-11 11:16:31 +00:00
lit.local.cfg
logical-ops.cl DR1687: When overload resolution selects a built-in operator, implicit 2018-06-27 20:30:34 +00:00
multistep-explicit-cast.cl [Sema] Mark implicitly-inserted ICE's as being part of explicit cast (PR38166) 2018-07-24 08:16:50 +00:00
nosvm.cl
null_literal.cl
null_queue.cl [OpenCL] Allow zero assignment and comparisons between queue_t type variables 2018-09-25 12:59:34 +00:00
numbered-address-space.cl Try to make builtin address space declarations not useless 2018-08-02 12:14:28 +00:00
pipes-1.2-negative.cl
predefined-expr.cl [OpenCL] Add constant address space to __func__ in AST. 2018-05-09 13:23:26 +00:00
printf-format-string-warnings.cl OpenCL: Mark printf format string argument 2018-10-03 02:01:19 +00:00
queue_t_overload.cl Fix problems in "[OpenCL] Enabling the usage of CLK_NULL_QUEUE as compare operand." 2016-12-23 14:55:49 +00:00
sampler_t.cl [OpenCL] Add test for constant sampler argument 2018-08-14 13:56:52 +00:00
sampler_t_overload.cl
shifts.cl
sizeof.cl
storageclass-cl20.cl [OpenCL] Add LangAS::opencl_private to represent private address space in AST 2017-10-13 03:37:48 +00:00
storageclass.cl [OpenCL] Restrict various keywords in OpenCL C++ mode 2018-05-09 13:16:17 +00:00
str_literals.cl
to_addr_builtin.cl [OpenCL] Improve extension-version.cl and to_addr_builtin.cl tests 2018-09-27 13:20:29 +00:00
types.cl [Bug 25404] Fix crash on typedef in OpenCL 2.0 2017-04-04 16:50:46 +00:00
unroll-hint.cl [OpenCL] Enable unroll hint for OpenCL 1.x. 2016-12-13 14:02:35 +00:00
unsupported.cl Fix the spelling of 'bitfield' in diagnostics to be consistently 'bit-field'. 2016-12-20 02:43:58 +00:00
vec_compare.cl
vec_step.cl
vector_conv_invalid.cl [OpenCL] Fix checking of vector type casting 2017-10-03 14:34:29 +00:00
vector_inc_dec_ops.cl
vector_literals_const.cl
vector_literals_invalid.cl [OpenCL] Added regression test on invalid vector initialization. 2017-05-25 06:55:02 +00:00
vector_swizzle_length.cl [OpenCL] Restrict swizzle length check to OpenCL mode 2017-10-17 17:54:57 +00:00
warn-missing-prototypes.cl