[all-commits] [llvm/llvm-project] aeea05: AMDGPU/GlobalISel: Report RegBankLegalize errors u...

Petar Avramovic via All-commits all-commits at lists.llvm.org
Tue Dec 2 14:49:42 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: aeea056f604200e3acd78cf279d1ea41eb3f2bfd
      https://github.com/llvm/llvm-project/commit/aeea056f604200e3acd78cf279d1ea41eb3f2bfd
  Author: Petar Avramovic <Petar.Avramovic at amd.com>
  Date:   2025-12-02 (Tue, 02 Dec 2025)

  Changed paths:
    M llvm/lib/Target/AMDGPU/AMDGPURegBankLegalize.cpp
    M llvm/lib/Target/AMDGPU/AMDGPURegBankLegalizeHelper.cpp
    M llvm/lib/Target/AMDGPU/AMDGPURegBankLegalizeHelper.h
    M llvm/lib/Target/AMDGPU/AMDGPURegBankLegalizeRules.cpp
    M llvm/lib/Target/AMDGPU/AMDGPURegBankLegalizeRules.h

  Log Message:
  -----------
  AMDGPU/GlobalISel: Report RegBankLegalize errors using reportGISelFailure (#169918)

Use standard GlobalISel error reporting with reportGISelFailure
and pass returning false instead of llvm_unreachable.
Also enables -global-isel-abort=0 or 2 for -global-isel -new-reg-bank-select.
Note: new-reg-bank-select with abort 0 or 2 runs LCSSA,
while "intended use" without abort or with abort 1 does not run LCSSA.



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