[PATCH] D123049: Emit OpenCL metadata when targeting SPIR-V

Shangwu Yao via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Apr 4 10:11:15 PDT 2022


shangwuyao added a comment.

In D123049#3426849 <https://reviews.llvm.org/D123049#3426849>, @yaxunl wrote:

> Is this because your HIP threadIdx etc are implemented using OpenCL builtins so that the emitted LLVM IR contains calls of OpenCL builtins?

Yes, that's correct.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D123049



More information about the cfe-commits mailing list