mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 03:33:20 +01:00
[MIPS GlobalISel] Fix -Wunused-variable in -DLLVM_ENABLE_ASSERTIONS=off builds after D69663
This commit is contained in:
parent
4393aa9b7a
commit
463f2a62ec
@ -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
Block a user