SuccessChanges

Summary

  1. [OpenCL] Define CLK_NULL_EVENT without cast Defining CLK_NULL_EVENT with a `(void*)` cast has the (unintended?) side-effect that the address space will be fixed (as generic in OpenCL 2.0 mode). The consequence is that any target specific address space for the clk_event_t type will not be applied. It is not clear why the void pointer cast was needed in the first place, and it seems we can do without it. Differential Revision: https://reviews.llvm.org/D63876
Revision 366546 by svenvh:
[OpenCL] Define CLK_NULL_EVENT without cast

Defining CLK_NULL_EVENT with a `(void*)` cast has the (unintended?)
side-effect that the address space will be fixed (as generic in OpenCL
2.0 mode).  The consequence is that any target specific address space
for the clk_event_t type will not be applied.

It is not clear why the void pointer cast was needed in the first
place, and it seems we can do without it.

Differential Revision: https://reviews.llvm.org/D63876
Change TypePath in RepositoryPath in Workspace
The file was modified/cfe/trunk/lib/Headers/opencl-c-base.h (diff)clang.src/lib/Headers/opencl-c-base.h
The file was modified/cfe/trunk/test/SemaOpenCL/clk_event_t.cl (diff)clang.src/test/SemaOpenCL/clk_event_t.cl