[all-commits] [llvm/llvm-project] ba3010: [CIR][OpenCL] Emit OpenCL language version metadat...

Akimasa Watanuki via All-commits all-commits at lists.llvm.org
Fri Sep 11 21:26:54 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ba3010d7e4520b6aee926f878c5c1771f1c2a6f3
      https://github.com/llvm/llvm-project/commit/ba3010d7e4520b6aee926f878c5c1771f1c2a6f3
  Author: Akimasa Watanuki <mencotton0410 at gmail.com>
  Date:   2026-09-12 (Sat, 12 Sep 2026)

  Changed paths:
    M clang/lib/CIR/CodeGen/CIRGenModule.cpp
    M clang/lib/CIR/CodeGen/CIRGenModule.h
    M clang/lib/CodeGen/CodeGenModule.cpp
    M clang/test/CIR/CodeGenHIP/amdgcnspirv-kernel.hip
    A clang/test/CIR/CodeGenOpenCL/version.cl
    M clang/test/CodeGenCUDASPIRV/kernel-cc.cu
    M clang/test/CodeGenHIP/hipspv-kernel.cpp
    A clang/test/SemaHIP/atomic-init.hip

  Log Message:
  -----------
  [CIR][OpenCL] Emit OpenCL language version metadata in CIR (#219688)

Emit OpenCL and C++ for OpenCL language version attributes from CIRGen.
Preserve the compatible OpenCL version and the C++ for OpenCL version
separately so later lowering does not infer one from the other.

Assisted-by: Codex / GPT-5.6 Sol



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