[NFC] Fix duplicated `Src`
authorPhoebe Wang <phoebe.wang@intel.com>
Tue, 13 Dec 2022 14:43:50 +0000 (22:43 +0800)
committerPhoebe Wang <phoebe.wang@intel.com>
Tue, 13 Dec 2022 14:44:28 +0000 (22:44 +0800)
llvm/lib/Target/X86/X86ISelLowering.cpp

index 58c00a4396d33f297bf199c2148f55c0e0415720..21da279500898d125fe153b87a4441c232ab1e8a 100644 (file)
@@ -12565,8 +12565,7 @@ static SDValue lowerShuffleAsVTRUNC(const SDLoc &DL, MVT VT, SDValue V1,
       // As we're using both sources then we need to concat them together
       // and truncate from the double-sized src.
       MVT ConcatVT = MVT::getVectorVT(VT.getScalarType(), NumElts * 2);
-      SDValue Src = Src =
-          DAG.getNode(ISD::CONCAT_VECTORS, DL, ConcatVT, V1, V2);
+      SDValue Src = DAG.getNode(ISD::CONCAT_VECTORS, DL, ConcatVT, V1, V2);
 
       // Move the offset'd elements into place for the truncation.
       if (Offset) {