[all-commits] [llvm/llvm-project] dcd330: [CIR] Reject unlowered language address spaces on ...

Akimasa Watanuki via All-commits all-commits at lists.llvm.org
Tue Sep 15 16:57:02 PDT 2026


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

  Changed paths:
    M clang/lib/CIR/Lowering/DirectToLLVM/LowerToLLVM.cpp
    A clang/test/CIR/Lowering/unlowered-address-spaces.cir

  Log Message:
  -----------
  [CIR] Reject unlowered language address spaces on CIR globals (#223660)

Diagnose a `LangAddressSpaceAttr` on `cir.global` before selecting the
LLVM global address space. This keeps standalone global attributes from
bypassing pointer conversion and silently falling back to address space
zero.

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