[PATCH] D104858: [OpenCL][ARM] Fix ICE when compiling a kernel

Anastasia Stulova via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Jul 5 04:54:35 PDT 2021


Anastasia added a comment.

In D104858#2849268 <https://reviews.llvm.org/D104858#2849268>, @pekka.jaaskelainen wrote:

> Does this break clSetKernelArg() for ARM CPUs in PoCL? I believe so far it has worked for ARM - just wondering why you decide to drop it now?
>
> https://github.com/pocl/pocl/issues/1

The reason why we would like to fix it is that upstream clang has a crash currently when OpenCL sources are compiled for any Arm CPU: https://bugs.llvm.org/show_bug.cgi?id=50841. Do you have any other suggestions to avoid this problem?

FYI clang also emits kernel metadata that can be used to detect kernels...


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D104858/new/

https://reviews.llvm.org/D104858



More information about the cfe-commits mailing list