[all-commits] [llvm/llvm-project] efb845: [clang][SPIR][SPIRV] Don't generate constant NULL ...

Wenju He via All-commits all-commits at lists.llvm.org
Fri Oct 31 00:36:02 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: efb84586da180bf2cdd5b3de02a9d9c8dfb15e88
      https://github.com/llvm/llvm-project/commit/efb84586da180bf2cdd5b3de02a9d9c8dfb15e88
  Author: Wenju He <wenju.he at intel.com>
  Date:   2025-10-31 (Fri, 31 Oct 2025)

  Changed paths:
    M clang/lib/CodeGen/Targets/SPIR.cpp
    R clang/test/CodeGenOpenCL/amdgpu-nullptr.cl
    A clang/test/CodeGenOpenCL/nullptr.cl

  Log Message:
  -----------
  [clang][SPIR][SPIRV] Don't generate constant NULL from addrspacecast generic NULL (#165353)

Fix a regression caused by 1ffff05a38c9.
OpenCL/SPIRV generic address space doesn't cover constant address space.

---------

Co-authored-by: Alexey Bader <alexey.bader 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