Fix unused variable warning introduced in r244314

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@244315 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Silviu Baranga 2015-08-07 12:05:46 +00:00
parent 441de0574a
commit 1962b1b6b7

View File

@ -5685,8 +5685,10 @@ SDValue ARMTargetLowering::ReconstructShuffle(SDValue Op,
}
// Final sanity check before we try to actually produce a shuffle.
for (auto Src : Sources)
assert(Src.ShuffleVec.getValueType() == ShuffleVT);
DEBUG(
for (auto Src : Sources)
assert(Src.ShuffleVec.getValueType() == ShuffleVT);
);
// The stars all align, our next step is to produce the mask for the shuffle.
SmallVector<int, 8> Mask(ShuffleVT.getVectorNumElements(), -1);