[all-commits] [llvm/llvm-project] 271cb2: [AMDGPU] Limit DVGPR entry function max VGPRs to b...

Mirko Brkušanin via All-commits all-commits at lists.llvm.org
Mon Sep 28 06:17:06 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 271cb24b4d3831c719bc8282748f8266d3d08598
      https://github.com/llvm/llvm-project/commit/271cb24b4d3831c719bc8282748f8266d3d08598
  Author: Mirko Brkušanin <Mirko.Brkusanin at amd.com>
  Date:   2026-09-28 (Mon, 28 Sep 2026)

  Changed paths:
    M llvm/lib/Target/AMDGPU/AMDGPUAsmPrinter.cpp
    M llvm/lib/Target/AMDGPU/AMDGPUPromoteAlloca.cpp
    M llvm/lib/Target/AMDGPU/GCNSubtarget.cpp
    M llvm/test/CodeGen/AMDGPU/dvgpr-vgpr-count-propagation-direct-chain.ll
    M llvm/test/CodeGen/AMDGPU/dvgpr-vgpr-count-propagation.ll
    A llvm/test/CodeGen/AMDGPU/dynamic-vgpr-entry-register-pressure.ll
    A llvm/test/CodeGen/AMDGPU/dynamic-vgpr-entry-vgpr-limit.ll
    M llvm/test/CodeGen/AMDGPU/dynamic-vgpr-reserve-stack-for-cwsr.ll
    M llvm/test/CodeGen/AMDGPU/promote-alloca-vgpr-ratio.ll

  Log Message:
  -----------
  [AMDGPU] Limit DVGPR entry function max VGPRs to block size (#226242)

AMDGPUPromoteAlloca.cpp has its own version of `getMaxVGPRs` so limit is
enforced in two places.

Co-Authored-By: Claude



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