[PATCH] D128022: [HIP] add -fhip-kernel-arg-name

Yaxun Liu via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Jun 16 19:26:34 PDT 2022


yaxunl created this revision.
yaxunl added reviewers: tra, b-sumner.
Herald added a project: All.
yaxunl requested review of this revision.
Herald added a subscriber: MaskRay.

Add option -fhip-kernel-arg-name to emit kernel argument
name metadata, which is needed for certain HIP applications.


https://reviews.llvm.org/D128022

Files:
  clang/include/clang/Basic/CodeGenOptions.def
  clang/include/clang/Driver/Options.td
  clang/lib/CodeGen/CGDeclCXX.cpp
  clang/lib/CodeGen/CodeGenFunction.cpp
  clang/lib/CodeGen/CodeGenFunction.h
  clang/lib/CodeGen/CodeGenModule.cpp
  clang/lib/CodeGen/CodeGenModule.h
  clang/lib/Driver/ToolChains/Clang.cpp
  clang/test/CodeGenCUDA/kernel-arg-name-metadata.cu
  clang/test/Driver/hip-options.hip

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D128022.437770.patch
Type: text/x-patch
Size: 9709 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220617/5721e695/attachment-0001.bin>


More information about the cfe-commits mailing list