summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/ARM/ARMISelLowering.cpp
diff options
context:
space:
mode:
authorSilviu Baranga <silviu.baranga@arm.com>2015-08-07 12:05:46 +0000
committerSilviu Baranga <silviu.baranga@arm.com>2015-08-07 12:05:46 +0000
commita07090f7fa89d6f0f4c1d1ab916d8768715523f6 (patch)
treec877218843a7a54b04217bd84f26f0c406ba073a /llvm/lib/Target/ARM/ARMISelLowering.cpp
parent3e8e51c1a95d824dc1e8f1969c335522468ec9b7 (diff)
downloadbcm5719-llvm-a07090f7fa89d6f0f4c1d1ab916d8768715523f6.tar.gz
bcm5719-llvm-a07090f7fa89d6f0f4c1d1ab916d8768715523f6.zip
Fix unused variable warning introduced in r244314
llvm-svn: 244315
Diffstat (limited to 'llvm/lib/Target/ARM/ARMISelLowering.cpp')
-rw-r--r--llvm/lib/Target/ARM/ARMISelLowering.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/llvm/lib/Target/ARM/ARMISelLowering.cpp b/llvm/lib/Target/ARM/ARMISelLowering.cpp
index 11add93dc6c..ea0dd6b2a1c 100644
--- a/llvm/lib/Target/ARM/ARMISelLowering.cpp
+++ b/llvm/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<int, 8> Mask(ShuffleVT.getVectorNumElements(), -1);
OpenPOWER on IntegriCloud