[NFC] Suppress unused variable warning in non-assert builds

This commit is contained in:
Arthur Eubanks 2022-07-20 12:26:16 -07:00
parent b64a286332
commit bc9b964f8f
1 changed files with 1 additions and 0 deletions

View File

@ -210,6 +210,7 @@ MachineInstr *GCNDPPCombine::createDPPInst(MachineInstr &OrigMI,
assert(BankMaskOpnd && BankMaskOpnd->isImm());
const bool MaskAllLanes =
RowMaskOpnd->getImm() == 0xF && BankMaskOpnd->getImm() == 0xF;
(void)MaskAllLanes;
assert(MaskAllLanes ||
!(TII->isVOPC(DPPOp) ||
(TII->isVOP3(DPPOp) && OrigOpE32 != -1 && TII->isVOPC(OrigOpE32))) &&