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:
3bae486
)
Silence unused warning.
author
Daniel Jasper
<djasper@google.com>
Mon, 19 Dec 2016 14:24:22 +0000
(14:24 +0000)
committer
Daniel Jasper
<djasper@google.com>
Mon, 19 Dec 2016 14:24:22 +0000
(14:24 +0000)
llvm-svn: 290109
llvm/lib/Target/ARM/ARMInstructionSelector.cpp
patch
|
blob
|
history
diff --git
a/llvm/lib/Target/ARM/ARMInstructionSelector.cpp
b/llvm/lib/Target/ARM/ARMInstructionSelector.cpp
index
b17155a
..
2bdbe4f
100644
(file)
--- a/
llvm/lib/Target/ARM/ARMInstructionSelector.cpp
+++ b/
llvm/lib/Target/ARM/ARMInstructionSelector.cpp
@@
-43,6
+43,7
@@
static bool selectCopy(MachineInstr &I, const TargetInstrInfo &TII,
assert(RegBank && "Can't get reg bank for virtual register");
const unsigned DstSize = MRI.getType(DstReg).getSizeInBits();
+ (void)DstSize;
unsigned SrcReg = I.getOperand(1).getReg();
const unsigned SrcSize = RBI.getSizeInBits(SrcReg, MRI, TRI);
(void)SrcSize;