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

Akimasa Watanuki via All-commits all-commits at lists.llvm.org
Sat May 30 07:39:36 PDT 2026


  Branch: refs/heads/users/Men-cotton/cir/lower-opencl-kernel-arg-metadata
  Home:   https://github.com/llvm/llvm-project
  Commit: c7cd58a9e6dbdd4c0a0850b411b143df312fa775
      https://github.com/llvm/llvm-project/commit/c7cd58a9e6dbdd4c0a0850b411b143df312fa775
  Author: mencotton <mencotton0410 at gmail.com>
  Date:   2026-05-30 (Sat, 30 May 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