[PATCH] D77589: libclc: Add Mesa/SPIR-V/DXIL target

Jesse Natalie via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 4 08:44:54 PDT 2020


jenatali requested changes to this revision.
jenatali added a comment.
This revision now requires changes to proceed.

It looks like we also need to add `_CLC_OVERLOAD` to the declaration and definitions of the functions declared in `workitem` as well as `barrer()`. The LLVM->SPIR-V converter requires these function names to be mangled in order to appropriately translate them to the dedicated SPIR-V built-ins. The names are not mangled for C/CLC unless overloading is requested.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D77589





More information about the llvm-commits mailing list