[all-commits] [llvm/llvm-project] 4ba779: AMDGPU: Stop inferring amdgpu-agpr-alloc on irrele...

Matt Arsenault via All-commits all-commits at lists.llvm.org
Tue Oct 7 09:22:11 PDT 2025


  Branch: refs/heads/users/arsenm/amdgpu/attributor-render-number-agprs-required
  Home:   https://github.com/llvm/llvm-project
  Commit: 4ba77937723d54dfb1238aa6d227d37b95b1dc25
      https://github.com/llvm/llvm-project/commit/4ba77937723d54dfb1238aa6d227d37b95b1dc25
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2025-10-08 (Wed, 08 Oct 2025)

  Changed paths:
    M llvm/lib/Target/AMDGPU/AMDGPUAttributor.cpp
    M llvm/test/CodeGen/AMDGPU/addrspacecast-constantexpr.ll
    M llvm/test/CodeGen/AMDGPU/annotate-kernel-features-hsa-call.ll
    M llvm/test/CodeGen/AMDGPU/annotate-kernel-features-hsa.ll
    M llvm/test/CodeGen/AMDGPU/annotate-kernel-features.ll
    M llvm/test/CodeGen/AMDGPU/attributor-flatscratchinit-undefined-behavior.ll
    M llvm/test/CodeGen/AMDGPU/attributor-flatscratchinit.ll
    M llvm/test/CodeGen/AMDGPU/direct-indirect-call.ll
    M llvm/test/CodeGen/AMDGPU/duplicate-attribute-indirect.ll
    M llvm/test/CodeGen/AMDGPU/implicitarg-offset-attributes.ll
    M llvm/test/CodeGen/AMDGPU/indirect-call-set-from-other-function.ll
    M llvm/test/CodeGen/AMDGPU/issue120256-annotate-constexpr-addrspacecast.ll
    M llvm/test/CodeGen/AMDGPU/propagate-flat-work-group-size.ll
    M llvm/test/CodeGen/AMDGPU/propagate-waves-per-eu.ll
    M llvm/test/CodeGen/AMDGPU/recursive_global_initializer.ll
    M llvm/test/CodeGen/AMDGPU/remove-no-kernel-id-attribute.ll
    M llvm/test/CodeGen/AMDGPU/simple-indirect-call-2.ll
    M llvm/test/CodeGen/AMDGPU/simple-indirect-call.ll
    M llvm/test/CodeGen/AMDGPU/uniform-work-group-attribute-missing.ll
    M llvm/test/CodeGen/AMDGPU/uniform-work-group-multistep.ll
    M llvm/test/CodeGen/AMDGPU/uniform-work-group-nested-function-calls.ll
    M llvm/test/CodeGen/AMDGPU/uniform-work-group-prevent-attribute-propagation.ll
    M llvm/test/CodeGen/AMDGPU/uniform-work-group-propagate-attribute.ll
    M llvm/test/CodeGen/AMDGPU/uniform-work-group-recursion-test.ll
    M llvm/test/CodeGen/AMDGPU/uniform-work-group-test.ll

  Log Message:
  -----------
  AMDGPU: Stop inferring amdgpu-agpr-alloc on irrelevant targets

This only matters for subtargets with configurable AGPR allocation.


  Commit: 0581b52ee5ee634c2447e8538ef24cfbf96d61a0
      https://github.com/llvm/llvm-project/commit/0581b52ee5ee634c2447e8538ef24cfbf96d61a0
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2025-10-08 (Wed, 08 Oct 2025)

  Changed paths:
    M llvm/lib/Target/AMDGPU/AMDGPUAttributor.cpp
    A llvm/test/CodeGen/AMDGPU/amdgpu-attributor-min-agpr-alloc.ll
    R llvm/test/CodeGen/AMDGPU/amdgpu-attributor-no-agpr.ll

  Log Message:
  -----------
  AMDGPU: Render non-0 values for amdgpu-agpr-alloc

This now tries to compute a lower bound on the number of registers
for individual inline asm uses. Also starts using AACallEdges
to handling indirect calls.


Compare: https://github.com/llvm/llvm-project/compare/2886cd60beb0...0581b52ee5ee

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