[all-commits] [llvm/llvm-project] 0a6298: AMDGPU: Support VALU add instructions in localstac...

Matt Arsenault via All-commits all-commits at lists.llvm.org
Thu Aug 8 12:23:09 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0a62980ad386ec429beb69cbcb8e361a7a6283c4
      https://github.com/llvm/llvm-project/commit/0a62980ad386ec429beb69cbcb8e361a7a6283c4
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2024-08-08 (Thu, 08 Aug 2024)

  Changed paths:
    M llvm/lib/Target/AMDGPU/SIRegisterInfo.cpp
    M llvm/lib/Target/AMDGPU/SOPInstructions.td
    M llvm/lib/Target/AMDGPU/VOP2Instructions.td
    A llvm/test/CodeGen/AMDGPU/local-stack-alloc-add-references.gfx10.mir
    A llvm/test/CodeGen/AMDGPU/local-stack-alloc-add-references.gfx8.mir
    A llvm/test/CodeGen/AMDGPU/local-stack-alloc-add-references.gfx9.mir

  Log Message:
  -----------
  AMDGPU: Support VALU add instructions in localstackalloc (#101692)

Pre-enable this optimization before allowing folds of frame
indexes into add instructions. Disables this fold when using
scratch instructions for now. I see some code size improvements
with it, but the optimization needs to be smarter about the
uses depending on the register classes.



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