[all-commits] [llvm/llvm-project] 8ad4c6: [HIP] add -fhip-kernel-arg-name

Yaxun (Sam) Liu via All-commits all-commits at lists.llvm.org
Fri Jun 24 08:15:59 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8ad4c6e4b1299d599c0b6defe6a9e90a417c7ba8
      https://github.com/llvm/llvm-project/commit/8ad4c6e4b1299d599c0b6defe6a9e90a417c7ba8
  Author: Yaxun (Sam) Liu <yaxun.liu at amd.com>
  Date:   2022-06-24 (Fri, 24 Jun 2022)

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

  Log Message:
  -----------
  [HIP] add -fhip-kernel-arg-name

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

Reviewed by: Artem Belevich, Fangrui Song, Brian Sumner

Differential Revision: https://reviews.llvm.org/D128022




More information about the All-commits mailing list