[all-commits] [llvm/llvm-project] d6b224: AMDGPU: Remove redundant operand folding checks

Matt Arsenault via All-commits all-commits at lists.llvm.org
Thu May 29 10:36:46 PDT 2025


  Branch: refs/heads/users/arsenm/amdgpu/remove-redundant-operand-legality-checks
  Home:   https://github.com/llvm/llvm-project
  Commit: d6b22489dab232d6a74901d2343512b940424064
      https://github.com/llvm/llvm-project/commit/d6b22489dab232d6a74901d2343512b940424064
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2025-05-29 (Thu, 29 May 2025)

  Changed paths:
    M llvm/lib/Target/AMDGPU/SIFoldOperands.cpp
    M llvm/test/CodeGen/AMDGPU/fold-operands-frame-index.mir

  Log Message:
  -----------
  AMDGPU: Remove redundant operand folding checks

This was pre-filtering out a specific situation from being
added to the fold candidate list. The operand legality will
ultimately be checked with isOperandLegal before the fold is
performed, so I don't see the plus in pre-filtering this one
case.


  Commit: a8db1cb6369a8093be8d08faff575d8c1237d6ad
      https://github.com/llvm/llvm-project/commit/a8db1cb6369a8093be8d08faff575d8c1237d6ad
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2025-05-29 (Thu, 29 May 2025)

  Changed paths:
    M llvm/lib/Target/AMDGPU/SIInstrInfo.cpp

  Log Message:
  -----------
  no multiple fi folding


Compare: https://github.com/llvm/llvm-project/compare/d71c8385931c...a8db1cb6369a

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