[all-commits] [llvm/llvm-project] 2b32f3: [CIR][OpenCL] Lower kernel argument metadata to LL...

Akimasa Watanuki via All-commits all-commits at lists.llvm.org
Fri Jun 12 22:55:45 PDT 2026


  Branch: refs/heads/users/Men-cotton/cir/lower-opencl-kernel-arg-metadata
  Home:   https://github.com/llvm/llvm-project
  Commit: 2b32f3f57319df628313860e73fad6349203bc3d
      https://github.com/llvm/llvm-project/commit/2b32f3f57319df628313860e73fad6349203bc3d
  Author: mencotton <mencotton0410 at gmail.com>
  Date:   2026-06-13 (Sat, 13 Jun 2026)

  Changed paths:
    M clang/lib/CIR/Lowering/DirectToLLVM/LowerToLLVMIR.cpp
    M clang/test/CIR/CodeGenOpenCL/kernel-arg-info-single-as.cl
    M clang/test/CIR/CodeGenOpenCL/kernel-arg-info.cl
    M clang/test/CIR/CodeGenOpenCL/kernel-arg-metadata.cl

  Log Message:
  -----------
  [CIR][OpenCL] Lower kernel argument metadata to LLVM IR

Translate CIR OpenCL kernel argument metadata into the LLVM IR kernel_arg_* metadata attached to kernel functions. Preserve optional argument names so -cl-kernel-arg-info controls the LLVM metadata surface through the CIR attribute.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list