[all-commits] [llvm/llvm-project] 9b03d3: [CIR][CodeGen] Replace errorNYI with assert for ad...

AbdallahRashed via All-commits all-commits at lists.llvm.org
Fri May 29 23:33:44 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9b03d3f319689c936937ba442d0fe5af69d26965
      https://github.com/llvm/llvm-project/commit/9b03d3f319689c936937ba442d0fe5af69d26965
  Author: AbdallahRashed <63146988+AbdallahRashed at users.noreply.github.com>
  Date:   2026-05-30 (Sat, 30 May 2026)

  Changed paths:
    M clang/lib/CIR/CodeGen/CIRGenDecl.cpp
    A clang/test/CIR/CodeGenOpenCL/address-space-local-var.clcpp

  Log Message:
  -----------
  [CIR][CodeGen] Replace errorNYI with assert for address space in emitAutoVarAlloca (#197506)

Auto variables can only be in the default address space, or
opencl_private when compiling OpenCL. Replace the errorNYI with an
assert matching OG codegen (CGDecl.cpp).

Fixes part of #160386

Co-authored-by: Andy Kaylor <akaylor at nvidia.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