[Hexagon] Fix unused variable warning in release build

llvm-svn: 323233
This commit is contained in:
Krzysztof Parzyszek 2018-01-23 18:16:52 +00:00
parent c2af269623
commit cf5d6d6d71

View File

@ -759,6 +759,7 @@ HexagonTargetLowering::LowerHvxConcatVectors(SDValue Op, SelectionDAG &DAG)
unsigned HwLen = Subtarget.getVectorLength();
unsigned NumOp = Op.getNumOperands();
assert(isPowerOf2_32(NumOp) && HwLen % NumOp == 0);
(void)NumOp;
// Count how many bytes (in a vector register) each bit in VecTy
// corresponds to.