1
0
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:
Fangrui Song 2019-11-01 11:07:21 -07:00
parent 4393aa9b7a
commit 463f2a62ec

View File

@ -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: