[all-commits] [llvm/llvm-project] 0448a1: [AMDGPU] Simplify commuted operand handling. NFCI....
Jay Foad via All-commits
all-commits at lists.llvm.org
Fri Nov 10 13:52:05 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 0448a1c0dc131835301a59db7138d504b836a591
https://github.com/llvm/llvm-project/commit/0448a1c0dc131835301a59db7138d504b836a591
Author: Jay Foad <jay.foad at amd.com>
Date: 2023-11-10 (Fri, 10 Nov 2023)
Changed paths:
M llvm/lib/Target/AMDGPU/SIFoldOperands.cpp
M llvm/lib/Target/AMDGPU/SIInstrInfo.cpp
Log Message:
-----------
[AMDGPU] Simplify commuted operand handling. NFCI. (#71965)
SIInstrInfo::commuteInstructionImpl should accept indices to commute in
either order. This simplifies SIFoldOperands::tryAddToFoldList where
OtherIdx, CommuteIdx0 and CommuteIdx1 are no longer needed.
More information about the All-commits
mailing list