[PATCH] D127579: [clang][WIP] add option to keep types of ptr args for non-kernel functions in metadata

Arthur Eubanks via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Jun 16 15:41:57 PDT 2022


aeubanks added a comment.

If I'm understanding correctly, previously the LLVM pointee type was used to represent a frontend OpenCL type. An alternative to marking everything with `elementtype` or adding metadata, can something be done in the frontend to mangle the function name with OpenCL pointee types, then the backend translates that to the proper SPIRV types?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D127579



More information about the cfe-commits mailing list