mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 03:33:20 +01:00
HexagonCopyToCombine.cpp: Silence two warnings, -Wunused-variable, with -Asserts.
llvm-svn: 154759
This commit is contained in:
parent
ddf2dc407e
commit
0133680b3d
@ -213,6 +213,7 @@ bool HexagonCopyToCombine::isSafeToMoveTogether(MachineInstr *I1,
|
||||
if (KillingInstr) {
|
||||
bool Added = KillingInstr->addRegisterKilled(KilledOperand, TRI, true);
|
||||
assert(Added && "Must successfully update kill flag");
|
||||
(void)Added;
|
||||
removeKillInfo(I2, KilledOperand);
|
||||
}
|
||||
DoInsertAtI1 = true;
|
||||
@ -268,6 +269,7 @@ bool HexagonCopyToCombine::isSafeToMoveTogether(MachineInstr *I1,
|
||||
// the new COMBINE instruction.
|
||||
bool Added = I1->addRegisterKilled(KilledOperand, TRI);
|
||||
assert(Added && "Must successfully update kill flag");
|
||||
(void)Added;
|
||||
}
|
||||
DoInsertAtI1 = false;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user