]> granicus.if.org Git - llvm/commitdiff
[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)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@359889 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/X86/X86ISelLowering.cpp

index ed2bbf852f88b13c18af7faf931909d736c7f08f..69354b7235630cbe723b42198f0b57469d5300ad 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))