From: Silviu Baranga Date: Fri, 7 Aug 2015 12:05:46 +0000 (+0000) Subject: Fix unused variable warning introduced in r244314 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=1962b1b6b7edb636214cd88c1e284e44469c10f3;p=oota-llvm.git Fix unused variable warning introduced in r244314 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@244315 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Target/ARM/ARMISelLowering.cpp b/lib/Target/ARM/ARMISelLowering.cpp index 11add93dc6c..ea0dd6b2a1c 100644 --- a/lib/Target/ARM/ARMISelLowering.cpp +++ b/lib/Target/ARM/ARMISelLowering.cpp @@ -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 Mask(ShuffleVT.getVectorNumElements(), -1);