forked from OSchip/llvm-project
Fix unused variable warning in non-debug builds.
llvm-svn: 248754
This commit is contained in:
parent
236cfdc4be
commit
e778e87d2a
|
@ -128,7 +128,8 @@ MachineInstr *TargetInstrInfo::commuteInstructionImpl(MachineInstr *MI,
|
|||
// 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.");
|
||||
|
|
Loading…
Reference in New Issue