[llvm] 57f71dc - [NFC] Fix duplicated `Src`
Phoebe Wang via llvm-commits
llvm-commits at lists.llvm.org
Tue Dec 13 06:44:36 PST 2022
Author: Phoebe Wang
Date: 2022-12-13T22:44:28+08:00
New Revision: 57f71dccd327dc3b19a39ca2cc0d1236bb1b2215
URL: https://github.com/llvm/llvm-project/commit/57f71dccd327dc3b19a39ca2cc0d1236bb1b2215
DIFF: https://github.com/llvm/llvm-project/commit/57f71dccd327dc3b19a39ca2cc0d1236bb1b2215.diff
LOG: [NFC] Fix duplicated `Src`
Added:
Modified:
llvm/lib/Target/X86/X86ISelLowering.cpp
Removed:
################################################################################
diff --git a/llvm/lib/Target/X86/X86ISelLowering.cpp b/llvm/lib/Target/X86/X86ISelLowering.cpp
index 58c00a4396d3..21da27950089 100644
--- a/llvm/lib/Target/X86/X86ISelLowering.cpp
+++ b/llvm/lib/Target/X86/X86ISelLowering.cpp
@@ -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) {
More information about the llvm-commits
mailing list