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:
69d10d2
)
[ARM][MVE] Fix -Wunused-variable in -DLLVM_ENABLE_ASSERTIONS=Off builds after D71062
author
Fangrui Song
<maskray@google.com>
Fri, 13 Dec 2019 17:26:15 +0000
(09:26 -0800)
committer
Fangrui Song
<maskray@google.com>
Fri, 13 Dec 2019 17:26:26 +0000
(09:26 -0800)
llvm/lib/Target/ARM/ARMISelDAGToDAG.cpp
patch
|
blob
|
history
diff --git
a/llvm/lib/Target/ARM/ARMISelDAGToDAG.cpp
b/llvm/lib/Target/ARM/ARMISelDAGToDAG.cpp
index
acbbf20
..
1f998de
100644
(file)
--- a/
llvm/lib/Target/ARM/ARMISelDAGToDAG.cpp
+++ b/
llvm/lib/Target/ARM/ARMISelDAGToDAG.cpp
@@
-2636,9
+2636,10
@@
void ARMDAGToDAGISel::SelectMVE_VMLLDAV(SDNode *N, bool Predicated,
void ARMDAGToDAGISel::SelectMVE_VRMLLDAVH(SDNode *N, bool Predicated,
const uint16_t *OpcodesS,
const uint16_t *OpcodesU) {
- EVT VecTy = N->getOperand(6).getValueType();
- assert(VecTy.getVectorElementType().getSizeInBits() == 32 &&
- "bad vector element size");
+ assert(
+ N->getOperand(6).getValueType().getVectorElementType().getSizeInBits() ==
+ 32 &&
+ "bad vector element size");
SelectBaseMVE_VMLLDAV(N, Predicated, OpcodesS, OpcodesU, 1, 0);
}