[llvm] r269650 - Fixed unused variable warning
Simon Pilgrim via llvm-commits
llvm-commits at lists.llvm.org
Mon May 16 04:48:55 PDT 2016
Author: rksimon
Date: Mon May 16 06:48:54 2016
New Revision: 269650
URL: http://llvm.org/viewvc/llvm-project?rev=269650&view=rev
Log:
Fixed unused variable warning
Modified:
llvm/trunk/lib/Target/X86/X86ISelLowering.cpp
Modified: llvm/trunk/lib/Target/X86/X86ISelLowering.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/X86ISelLowering.cpp?rev=269650&r1=269649&r2=269650&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/X86ISelLowering.cpp (original)
+++ llvm/trunk/lib/Target/X86/X86ISelLowering.cpp Mon May 16 06:48:54 2016
@@ -18788,7 +18788,6 @@ static SDValue LowerVectorCTLZInRegLUT(S
const X86Subtarget &Subtarget,
SelectionDAG &DAG) {
MVT VT = Op.getSimpleValueType();
- MVT SVT = VT.getScalarType();
int NumElts = VT.getVectorNumElements();
int NumBytes = NumElts * (VT.getScalarSizeInBits() / 8);
MVT CurrVT = MVT::getVectorVT(MVT::i8, NumBytes);
More information about the llvm-commits
mailing list