forked from OSchip/llvm-project
[NFC] Suppress unused variable warning in non-assert builds
This commit is contained in:
parent
b64a286332
commit
bc9b964f8f
|
@ -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))) &&
|
||||
|
|
Loading…
Reference in New Issue