diff options
author | Sven van Haastregt <sven.vanhaastregt@arm.com> | 2019-07-19 09:11:48 +0000 |
---|---|---|
committer | Sven van Haastregt <sven.vanhaastregt@arm.com> | 2019-07-19 09:11:48 +0000 |
commit | e9e59ad79ffdbb319db43144b68265170ee41c49 (patch) | |
tree | b3f2892d324bac3fd46a32413a270da9222af9d5 /llvm/lib/Target/ARM/Disassembler/ARMDisassembler.cpp | |
parent | f3ae501d36eb742a82041707d1fe2aba2613e5fc (diff) | |
download | bcm5719-llvm-e9e59ad79ffdbb319db43144b68265170ee41c49.tar.gz bcm5719-llvm-e9e59ad79ffdbb319db43144b68265170ee41c49.zip |
[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
llvm-svn: 366546
Diffstat (limited to 'llvm/lib/Target/ARM/Disassembler/ARMDisassembler.cpp')
0 files changed, 0 insertions, 0 deletions