Skip to content

Commit a07090f

Browse files
committed
Fix unused variable warning introduced in r244314
llvm-svn: 244315
1 parent 3e8e51c commit a07090f

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

llvm/lib/Target/ARM/ARMISelLowering.cpp

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5685,8 +5685,10 @@ SDValue ARMTargetLowering::ReconstructShuffle(SDValue Op,
56855685
}
56865686

56875687
// Final sanity check before we try to actually produce a shuffle.
5688-
for (auto Src : Sources)
5689-
assert(Src.ShuffleVec.getValueType() == ShuffleVT);
5688+
DEBUG(
5689+
for (auto Src : Sources)
5690+
assert(Src.ShuffleVec.getValueType() == ShuffleVT);
5691+
);
56905692

56915693
// The stars all align, our next step is to produce the mask for the shuffle.
56925694
SmallVector<int, 8> Mask(ShuffleVT.getVectorNumElements(), -1);

0 commit comments

Comments
 (0)