Fix unused variable warning after r344348

llvm-svn: 344350
This commit is contained in:
Eric Liu 2018-10-12 15:01:11 +00:00
parent b8339c0167
commit 55ab86b72b

View File

@ -25024,6 +25024,7 @@ static SDValue LowerVectorCTPOPInRegLUT(SDValue Op, const SDLoc &DL,
MVT VT = Op.getSimpleValueType();
MVT EltVT = VT.getVectorElementType();
int NumElts = VT.getVectorNumElements();
(void)EltVT;
assert(EltVT == MVT::i8 && "Only vXi8 vector CTPOP lowering supported.");
// Implement a lookup table in register by using an algorithm based on: