forked from OSchip/llvm-project
[MIPS GlobalISel] Fix -Wunused-variable in -DLLVM_ENABLE_ASSERTIONS=off builds after D69663
This commit is contained in:
parent
9364107cf3
commit
45ee0d6de6
|
@ -183,6 +183,7 @@ MipsInstructionSelector::selectLoadStoreOpCode(MachineInstr &I,
|
|||
assert(((Ty.isScalar() && TySize == 32) ||
|
||||
(Ty.isPointer() && TySize == 32 && MemSizeInBytes == 4)) &&
|
||||
"Unsupported register bank, LLT, MemSizeInBytes combination");
|
||||
(void)TySize;
|
||||
if (isStore)
|
||||
switch (MemSizeInBytes) {
|
||||
case 4:
|
||||
|
|
Loading…
Reference in New Issue