[all-commits] [llvm/llvm-project] ecf5f9: AMDGPU: Avoid crashing on statepoint-like pseudoin...

Matt Arsenault via All-commits all-commits at lists.llvm.org
Thu Dec 4 04:41:44 PST 2025


  Branch: refs/heads/users/arsenm/amdgpu/avoid-crashing-statepoint-like-insts
  Home:   https://github.com/llvm/llvm-project
  Commit: ecf5f9dc0ca8fff0eaf6e7a1abe7d02ed6eee20d
      https://github.com/llvm/llvm-project/commit/ecf5f9dc0ca8fff0eaf6e7a1abe7d02ed6eee20d
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2025-12-04 (Thu, 04 Dec 2025)

  Changed paths:
    M llvm/include/llvm/CodeGen/TargetInstrInfo.h
    M llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
    M llvm/lib/CodeGen/SelectionDAG/StatepointLowering.cpp
    M llvm/lib/Target/AMDGPU/AMDGPUMCInstLower.cpp
    M llvm/lib/Target/AMDGPU/AMDGPUResourceUsageAnalysis.cpp
    M llvm/lib/Target/AMDGPU/SIISelLowering.cpp
    M llvm/lib/Target/AMDGPU/SIISelLowering.h
    M llvm/lib/Target/AMDGPU/SIInsertWaitcnts.cpp
    M llvm/lib/Target/AMDGPU/SIInstrInfo.cpp
    M llvm/lib/Target/AMDGPU/SIInstrInfo.h
    A llvm/test/CodeGen/AMDGPU/llvm.deoptimize.ll
    A llvm/test/CodeGen/AMDGPU/statepoint-asm-printer.mir
    A llvm/test/CodeGen/AMDGPU/statepoint-insert-waitcnts.mir

  Log Message:
  -----------
  AMDGPU: Avoid crashing on statepoint-like pseudoinstructions

At the moment the MIR tests are somewhat redundant. The waitcnt
one is needed to ensure we actually have a load, given we are
currently just emitting an error on ExternalSymbol. The asm printer
one is more redundant for the moment, since it's stressed by the IR
test. However I am planning to change the error path for the IR test,
so it will soon not be redundant.



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