[llvm] r355289 - Remove unused variable. NFCI.
Simon Pilgrim via llvm-commits
llvm-commits at lists.llvm.org
Sun Mar 3 06:23:08 PST 2019
Author: rksimon
Date: Sun Mar 3 06:23:07 2019
New Revision: 355289
URL: http://llvm.org/viewvc/llvm-project?rev=355289&view=rev
Log:
Remove unused variable. NFCI.
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=355289&r1=355288&r2=355289&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/X86ISelLowering.cpp (original)
+++ llvm/trunk/lib/Target/X86/X86ISelLowering.cpp Sun Mar 3 06:23:07 2019
@@ -6902,7 +6902,6 @@ static SDValue getShuffleScalarElt(SDNod
if (Opcode == ISD::EXTRACT_SUBVECTOR &&
isa<ConstantSDNode>(N->getOperand(1))) {
SDValue Src = N->getOperand(0);
- EVT SrcVT = Src.getValueType();
uint64_t SrcIdx = N->getConstantOperandVal(1);
return getShuffleScalarElt(Src.getNode(), Index + SrcIdx, DAG, Depth + 1);
}
More information about the llvm-commits
mailing list