Skip to content
Unverified Commit 0448a1c0 authored by Jay Foad's avatar Jay Foad Committed by GitHub
Browse files

[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.
parent 683f2df6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment