Eliminate variable only used in debug builds.
authorMatt Beaumont-Gay <matthewbg@google.com>
Fri, 7 Jan 2011 22:34:58 +0000 (22:34 +0000)
committerMatt Beaumont-Gay <matthewbg@google.com>
Fri, 7 Jan 2011 22:34:58 +0000 (22:34 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@123040 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/ARM/ARMISelLowering.cpp

index 98939732a2bb9dd5948826edab201f6d89503cdf..38daeaa5bbd1899f641b67d0e5c5bec68a3d35af 100644 (file)
@@ -3712,12 +3712,10 @@ SDValue ARMTargetLowering::ReconstructShuffle(SDValue Op, SelectionDAG &DAG) con
       // break it down again in a shuffle.
       return SDValue();
     }
-        
-    unsigned SrcNumElts = SourceVecs[i].getValueType().getVectorNumElements();
     
     // Since only 64-bit and 128-bit vectors are legal on ARM and
     // we've eliminated the other cases...
-    assert(SrcNumElts == 2*NumElts);
+    assert(SourceVecs[i].getValueType().getVectorNumElements() == 2*NumElts);
     
     if (MaxElts[i] - MinElts[i] >= NumElts) {
       // Span too large for a VEXT to cope