[llvm-commits] [llvm] r123040 - /llvm/trunk/lib/Target/ARM/ARMISelLowering.cpp
Matt Beaumont-Gay
matthewbg at google.com
Fri Jan 7 14:34:58 PST 2011
Author: matthewbg
Date: Fri Jan 7 16:34:58 2011
New Revision: 123040
URL: http://llvm.org/viewvc/llvm-project?rev=123040&view=rev
Log:
Eliminate variable only used in debug builds.
Modified:
llvm/trunk/lib/Target/ARM/ARMISelLowering.cpp
Modified: llvm/trunk/lib/Target/ARM/ARMISelLowering.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/ARM/ARMISelLowering.cpp?rev=123040&r1=123039&r2=123040&view=diff
==============================================================================
--- llvm/trunk/lib/Target/ARM/ARMISelLowering.cpp (original)
+++ llvm/trunk/lib/Target/ARM/ARMISelLowering.cpp Fri Jan 7 16:34:58 2011
@@ -3712,12 +3712,10 @@
// break it down again in a shuffle.
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
More information about the llvm-commits
mailing list