projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9364107
)
[MIPS GlobalISel] Fix -Wunused-variable in -DLLVM_ENABLE_ASSERTIONS=off builds after...
author
Fangrui Song
<maskray@google.com>
Fri, 1 Nov 2019 18:07:21 +0000
(11:07 -0700)
committer
Fangrui Song
<maskray@google.com>
Fri, 1 Nov 2019 18:07:50 +0000
(11:07 -0700)
llvm/lib/Target/Mips/MipsInstructionSelector.cpp
patch
|
blob
|
history
diff --git
a/llvm/lib/Target/Mips/MipsInstructionSelector.cpp
b/llvm/lib/Target/Mips/MipsInstructionSelector.cpp
index
dde9111
..
b7d5990
100644
(file)
--- a/
llvm/lib/Target/Mips/MipsInstructionSelector.cpp
+++ b/
llvm/lib/Target/Mips/MipsInstructionSelector.cpp
@@
-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: