projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d4191be
)
[NFC] Fix duplicated `Src`
author
Phoebe Wang
<phoebe.wang@intel.com>
Tue, 13 Dec 2022 14:43:50 +0000
(22:43 +0800)
committer
Phoebe Wang
<phoebe.wang@intel.com>
Tue, 13 Dec 2022 14:44:28 +0000
(22:44 +0800)
llvm/lib/Target/X86/X86ISelLowering.cpp
patch
|
blob
|
history
diff --git
a/llvm/lib/Target/X86/X86ISelLowering.cpp
b/llvm/lib/Target/X86/X86ISelLowering.cpp
index 58c00a4396d33f297bf199c2148f55c0e0415720..21da279500898d125fe153b87a4441c232ab1e8a 100644
(file)
--- 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) {