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

Akimasa Watanuki via All-commits all-commits at lists.llvm.org
Sun Jun 7 08:32:02 PDT 2026


  Branch: refs/heads/users/Men-cotton/cir/attach-opencl-kernel-arg-metadata
  Home:   https://github.com/llvm/llvm-project
  Commit: 2f5f230b8dedff8d8eb08c46b5d180869b608777
      https://github.com/llvm/llvm-project/commit/2f5f230b8dedff8d8eb08c46b5d180869b608777
  Author: mencotton <mencotton0410 at gmail.com>
  Date:   2026-06-08 (Mon, 08 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