From: Simon Pilgrim Date: Fri, 3 May 2019 14:37:00 +0000 (+0000) Subject: [X86] Remove repeated variables. NFCI. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=78b8beba129eb4b50c9a787254bba34b4bd2ed0b;p=llvm [X86] Remove repeated variables. NFCI. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@359889 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Target/X86/X86ISelLowering.cpp b/lib/Target/X86/X86ISelLowering.cpp index ed2bbf852f8..69354b72356 100644 --- a/lib/Target/X86/X86ISelLowering.cpp +++ b/lib/Target/X86/X86ISelLowering.cpp @@ -34213,7 +34213,6 @@ static SDValue combineBitcast(SDNode *N, SelectionDAG &DAG, // type, widen both sides to avoid a trip through memory. if ((SrcVT == MVT::v4i1 || SrcVT == MVT::v2i1) && VT.isScalarInteger() && Subtarget.hasAVX512()) { - SDLoc dl(N); unsigned NumConcats = 8 / SrcVT.getVectorNumElements(); SmallVector Ops(NumConcats, DAG.getUNDEF(SrcVT)); Ops[0] = N0; @@ -39137,7 +39136,6 @@ static SDValue combineStore(SDNode *N, SelectionDAG &DAG, St->getPointerInfo(), St->getAlignment(), St->getMemOperand()->getFlags()); - const TargetLowering &TLI = DAG.getTargetLoweringInfo(); if (SDValue Val = detectAVX512SSatPattern(St->getValue(), St->getMemoryVT(), Subtarget, TLI))