1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-22 18:54:02 +01:00

[ARM][MVE] Fix -Wunused-variable in -DLLVM_ENABLE_ASSERTIONS=Off builds after D71062

This commit is contained in:
Fangrui Song 2019-12-13 09:26:15 -08:00
parent beedccd28a
commit 510814e7a8

View File

@ -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);
}