[all-commits] [llvm/llvm-project] a7bae7: [CIR] Reject language address spaces in DirectToLL...

Akimasa Watanuki via All-commits all-commits at lists.llvm.org
Sat Sep 26 22:49:18 PDT 2026


  Branch: refs/heads/users/Men-cotton/cir/reject-pointer-language-address-spaces
  Home:   https://github.com/llvm/llvm-project
  Commit: a7bae76cc55812dddf19f102384aeab0bb3ba8ff
      https://github.com/llvm/llvm-project/commit/a7bae76cc55812dddf19f102384aeab0bb3ba8ff
  Author: mencotton <mencotton0410 at gmail.com>
  Date:   2026-09-27 (Sun, 27 Sep 2026)

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

  Log Message:
  -----------
  [CIR] Reject language address spaces in DirectToLLVM pointer conversion

Reject unlowered language address spaces in pointer types when bypassing TargetLowering. Guard pointer-producing lowerings, including generated patterns, so failed conversions report legalization failures instead of silently selecting address space zero or constructing invalid LLVM operations.

Assisted-by: Codex / GPT-6



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