git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@248754
91177308-0d34-0410-b5e6-
96231b3b80d8
// No idea how to commute this instruction. Target should implement its own.
return nullptr;
- unsigned CommutableOpIdx1 = Idx1, CommutableOpIdx2 = Idx2;
+ unsigned CommutableOpIdx1 = Idx1; (void)CommutableOpIdx1;
+ unsigned CommutableOpIdx2 = Idx2; (void)CommutableOpIdx2;
assert(findCommutedOpIndices(MI, CommutableOpIdx1, CommutableOpIdx2) &&
CommutableOpIdx1 == Idx1 && CommutableOpIdx2 == Idx2 &&
"TargetInstrInfo::CommuteInstructionImpl(): not commutable operands.");