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
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment