[all-commits] [llvm/llvm-project] b59652: CodeGen: Emit error if getRegisterByName fails

Matt Arsenault via All-commits all-commits at lists.llvm.org
Sat Jun 21 16:57:55 PDT 2025


  Branch: refs/heads/users/arsenm/codegen/emit-error-getRegisterByName-failure
  Home:   https://github.com/llvm/llvm-project
  Commit: b596522534b392aa08262508286a90ea4ad2879e
      https://github.com/llvm/llvm-project/commit/b596522534b392aa08262508286a90ea4ad2879e
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2025-06-22 (Sun, 22 Jun 2025)

  Changed paths:
    M llvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp
    M llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
    M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
    M llvm/lib/Target/AMDGPU/SIISelLowering.cpp
    M llvm/lib/Target/ARM/ARMISelLowering.cpp
    M llvm/lib/Target/Hexagon/HexagonISelLowering.cpp
    M llvm/lib/Target/Lanai/LanaiISelLowering.cpp
    M llvm/lib/Target/LoongArch/LoongArchISelLowering.cpp
    M llvm/lib/Target/Mips/MipsISelLowering.cpp
    M llvm/lib/Target/PowerPC/PPCISelLowering.cpp
    M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
    M llvm/lib/Target/Sparc/SparcISelLowering.cpp
    M llvm/lib/Target/SystemZ/SystemZISelLowering.cpp
    M llvm/lib/Target/VE/VEISelLowering.cpp
    M llvm/lib/Target/X86/X86ISelLowering.cpp
    M llvm/test/CodeGen/AArch64/arm64-named-reg-alloc.ll
    M llvm/test/CodeGen/AArch64/arm64-named-reg-notareg.ll
    A llvm/test/CodeGen/AMDGPU/read-register-invalid-register.ll
    A llvm/test/CodeGen/AMDGPU/write-register-invalid-register.ll
    M llvm/test/CodeGen/ARM/named-reg-alloc.ll
    M llvm/test/CodeGen/ARM/named-reg-notareg.ll
    M llvm/test/CodeGen/ARM/special-reg-acore.ll
    M llvm/test/CodeGen/ARM/special-reg-mcore.ll
    M llvm/test/CodeGen/ARM/special-reg-v8m-base.ll
    M llvm/test/CodeGen/ARM/special-reg-v8m-main.ll
    M llvm/test/CodeGen/RISCV/get-register-invalid.ll
    M llvm/test/CodeGen/SPARC/reserved-regs-unavailable.ll
    M llvm/test/CodeGen/X86/named-reg-alloc.ll
    M llvm/test/CodeGen/X86/named-reg-notareg.ll

  Log Message:
  -----------
  CodeGen: Emit error if getRegisterByName fails

This avoids using report_fatal_error and standardizes the error
message in a subset of the error conditions.



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