[all-commits] [llvm/llvm-project] 8e83c7: AMDGPU: Always use AV spill pseudos on targets wit...

Matt Arsenault via All-commits all-commits at lists.llvm.org
Thu Jul 17 23:29:40 PDT 2025


  Branch: refs/heads/users/arsenm/amdgpu/always-use-av-spill-pseudos-with-if-available
  Home:   https://github.com/llvm/llvm-project
  Commit: 8e83c7bd7c44232e9b72b2480fca4f085261dcef
      https://github.com/llvm/llvm-project/commit/8e83c7bd7c44232e9b72b2480fca4f085261dcef
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2025-07-18 (Fri, 18 Jul 2025)

  Changed paths:
    M llvm/lib/Target/AMDGPU/SIInstrInfo.cpp
    M llvm/lib/Target/AMDGPU/SIInstrInfo.h
    M llvm/test/CodeGen/AMDGPU/buffer-fat-pointers-memcpy.ll
    M llvm/test/CodeGen/AMDGPU/inflate-av-remat-imm.mir
    M llvm/test/CodeGen/AMDGPU/inflated-reg-class-snippet-copy-use-after-free.mir
    M llvm/test/CodeGen/AMDGPU/regalloc-undef-copy-fold.mir
    M llvm/test/CodeGen/AMDGPU/spill-agpr.mir
    M llvm/test/CodeGen/AMDGPU/swdev502267-use-after-free-last-chance-recoloring-alloc-succeeds.mir

  Log Message:
  -----------
  AMDGPU: Always use AV spill pseudos on targets with AGPRs

This increases allocator freedom to inflate register classes
to the AV class, we don't need to introduce a new restriction
by basing the opcode on the current virtual register class.
Ideally we would avoid this if we don't have any allocatable
AGPRs for the function, but it probably doesn't make much
difference in the end result if they are excluded from the
final allocation order.



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