summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--llvm/lib/Target/ARM/ARMISelDAGToDAG.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/llvm/lib/Target/ARM/ARMISelDAGToDAG.cpp b/llvm/lib/Target/ARM/ARMISelDAGToDAG.cpp
index acbbf20f3ef..1f998defbd1 100644
--- 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);
}
OpenPOWER on IntegriCloud