[all-commits] [llvm/llvm-project] 285b6e: [CIR][OpenCL] Attach kernel argument metadata to C...

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


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

  Changed paths:
    M clang/lib/CIR/CodeGen/CIRGenFunction.cpp
    M clang/lib/CIR/CodeGen/CIRGenModule.cpp
    M clang/lib/CIR/CodeGen/CIRGenModule.h
    A clang/test/CIR/CodeGenOpenCL/invalid-kernel-arg-metadata-target-address-space.cl
    A clang/test/CIR/CodeGenOpenCL/kernel-arg-info-single-as.cl
    A clang/test/CIR/CodeGenOpenCL/kernel-arg-info.cl
    A clang/test/CIR/CodeGenOpenCL/kernel-arg-metadata.cl

  Log Message:
  -----------
  [CIR][OpenCL] Attach kernel argument metadata to CIR functions

Emit the CIR OpenCL kernel argument metadata attribute for kernel functions. Preserve CIR language address-space kinds until lowering and include argument names only when `-cl-kernel-arg-info` is enabled.



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