[Target][ARM] Add a usage for SrcSz to unbreak build-bots without assertions
authorKadir Cetinkaya <kadircet@google.com>
Thu, 28 Feb 2019 15:55:11 +0000 (15:55 +0000)
committerKadir Cetinkaya <kadircet@google.com>
Thu, 28 Feb 2019 15:55:11 +0000 (15:55 +0000)
llvm-svn: 355101

llvm/lib/Target/ARM/ARMISelLowering.cpp

index 524b84e..d8764f6 100644 (file)
@@ -13701,6 +13701,7 @@ void ARMTargetLowering::computeKnownBitsForTargetNode(const SDValue Op,
     EVT VT = Op.getValueType();
     const unsigned DstSz = VT.getScalarSizeInBits();
     const unsigned SrcSz = VecVT.getVectorElementType().getSizeInBits();
+    (void)SrcSz;
     assert(SrcSz == Known.getBitWidth());
     assert(DstSz > SrcSz);
     if (Op.getOpcode() == ARMISD::VGETLANEs)