[all-commits] [llvm/llvm-project] 25b6a1: GlobalISel: Stop using TPC to check if GlobalISelA...

Petar Avramovic via All-commits all-commits at lists.llvm.org
Tue Dec 2 08:12:33 PST 2025


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

  Changed paths:
    M llvm/include/llvm/CodeGen/GlobalISel/InstructionSelector.h
    M llvm/include/llvm/CodeGen/GlobalISel/RegBankSelect.h
    M llvm/include/llvm/CodeGen/GlobalISel/Utils.h
    M llvm/lib/CodeGen/GlobalISel/IRTranslator.cpp
    M llvm/lib/CodeGen/GlobalISel/InstructionSelect.cpp
    M llvm/lib/CodeGen/GlobalISel/Legalizer.cpp
    M llvm/lib/CodeGen/GlobalISel/RegBankSelect.cpp
    M llvm/lib/CodeGen/GlobalISel/Utils.cpp
    M llvm/lib/Target/RISCV/GISel/RISCVInstructionSelector.cpp
    M llvm/unittests/CodeGen/GlobalISel/InstructionSelectTest.cpp

  Log Message:
  -----------
  GlobalISel: Stop using TPC to check if GlobalISelAbort is enabled (#169917)

New pass manager does not use TargetPassConfig.
GlobalISel requires TargetPassConfig to reportGISelFailure,
and it only actual use is to check if GlobalISelAbort is enabled.
TargetPassConfig uses TargetMachine to check if GlobalISelAbort is
enabled, but TargetMachine is also available from MachineFunction.



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