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

Petar Avramovic via All-commits all-commits at lists.llvm.org
Tue Dec 2 09:45:00 PST 2025


  Branch: refs/heads/users/petar-avramovic/graceful-crash-NoTPC
  Home:   https://github.com/llvm/llvm-project
  Commit: d202056782cf9eb36dde1275893451f3e4db49c4
      https://github.com/llvm/llvm-project/commit/d202056782cf9eb36dde1275893451f3e4db49c4
  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

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