[all-commits] [llvm/llvm-project] 65b90c: AMDGPU: Remove redundant operand folding checks (#...

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


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 65b90c59ce9cfccaaad19847c2b61623e2c9e150
      https://github.com/llvm/llvm-project/commit/65b90c59ce9cfccaaad19847c2b61623e2c9e150
  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/lib/Target/AMDGPU/SIInstrInfo.cpp
    M llvm/test/CodeGen/AMDGPU/fold-operands-frame-index.mir

  Log Message:
  -----------
  AMDGPU: Remove redundant operand folding checks (#140587)

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.



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