[X86] Remove repeated variables. NFCI.
authorSimon Pilgrim <llvm-dev@redking.me.uk>
Fri, 3 May 2019 14:37:00 +0000 (14:37 +0000)
committerSimon Pilgrim <llvm-dev@redking.me.uk>
Fri, 3 May 2019 14:37:00 +0000 (14:37 +0000)
llvm-svn: 359889

llvm/lib/Target/X86/X86ISelLowering.cpp

index ed2bbf8..69354b7 100644 (file)
@@ -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<SDValue, 4> 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))