forked from OSchip/llvm-project
[Hexagon] Avoid an unused variable warning when assertions are off
No functional changes. llvm-svn: 233740
This commit is contained in:
parent
73ee010d2d
commit
772944ad3d
|
@ -959,6 +959,7 @@ void HexagonExpandCondsets::renameInRange(RegisterRef RO, RegisterRef RN,
|
|||
bool HexagonExpandCondsets::predicate(MachineInstr *TfrI, bool Cond) {
|
||||
// TfrI - A2_tfr[tf] Instruction (not A2_tfrsi).
|
||||
unsigned Opc = TfrI->getOpcode();
|
||||
(void)Opc;
|
||||
assert(Opc == Hexagon::A2_tfrt || Opc == Hexagon::A2_tfrf);
|
||||
DEBUG(dbgs() << "\nattempt to predicate if-" << (Cond ? "true" : "false")
|
||||
<< ": " << *TfrI);
|
||||
|
|
Loading…
Reference in New Issue