1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 19:52:54 +01:00

Eliminate variable only used in debug builds.

llvm-svn: 123040
This commit is contained in:
Matt Beaumont-Gay 2011-01-07 22:34:58 +00:00
parent d3ba97949a
commit 68a61cf6dd

View File

@ -3713,11 +3713,9 @@ SDValue ARMTargetLowering::ReconstructShuffle(SDValue Op, SelectionDAG &DAG) con
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