[all-commits] [llvm/llvm-project] ce94d6: Make OpenCL an OSType rather than an EnvironmentTy...

Marcos Maronas via All-commits all-commits at lists.llvm.org
Tue Feb 10 10:46:13 PST 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ce94d63f0f0ecca24398d265654ef06d2ad255e0
      https://github.com/llvm/llvm-project/commit/ce94d63f0f0ecca24398d265654ef06d2ad255e0
  Author: Marcos Maronas <mmaronas at amd.com>
  Date:   2026-02-10 (Tue, 10 Feb 2026)

  Changed paths:
    M clang/test/CodeGenOpenCL/amdgpu-debug-info-pointer-address-space.cl
    M clang/test/CodeGenOpenCL/amdgpu-debug-info-variable-expression.cl
    M clang/test/Driver/amdgpu-toolchain-opencl.cl
    M clang/test/Driver/opencl.cl
    M llvm/include/llvm/TargetParser/Triple.h
    M llvm/lib/Target/SPIRV/SPIRVSubtarget.cpp
    M llvm/lib/TargetParser/Triple.cpp

  Log Message:
  -----------
  Make OpenCL an OSType rather than an EnvironmentType. (#170297)

OpenCL was added as an `EnvironmentType` in
https://github.com/llvm/llvm-project/pull/78655, but there is no
explanation as to why it was added as such, even after explicitly asking
in the PR
(https://github.com/llvm/llvm-project/pull/78655#issuecomment-2743162853).
This PR makes it an `OSType` instead, which feels more natural, and
updates tests accordingly.

---------

Co-authored-by: Marcos Maronas <marcos.maronas at intel.com>



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