[llvm] f6dbb0b - [X86] Fix typo in extraction type introduced in rGed0303aa2251e4484a2b4ff7f236c9f7cdfb2092
Simon Pilgrim via llvm-commits
llvm-commits at lists.llvm.org
Wed Jun 1 04:31:41 PDT 2022
Author: Simon Pilgrim
Date: 2022-06-01T12:31:27+01:00
New Revision: f6dbb0b6fb38cf1f64c1fb35b9295cfc76c89afd
URL: https://github.com/llvm/llvm-project/commit/f6dbb0b6fb38cf1f64c1fb35b9295cfc76c89afd
DIFF: https://github.com/llvm/llvm-project/commit/f6dbb0b6fb38cf1f64c1fb35b9295cfc76c89afd.diff
LOG: [X86] Fix typo in extraction type introduced in rGed0303aa2251e4484a2b4ff7f236c9f7cdfb2092
It doesn't look like we have test coverage for this at the moment :(
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 79a0bd666977..c2c93cf033f9 100644
--- a/llvm/lib/Target/X86/X86ISelLowering.cpp
+++ b/llvm/lib/Target/X86/X86ISelLowering.cpp
@@ -21971,9 +21971,9 @@ SDValue X86TargetLowering::LowerTRUNCATE(SDValue Op, SelectionDAG &DAG) const {
return DAG.getBitcast(MVT::v8i16, In);
}
- SDValue OpLo = DAG.getNode(ISD::EXTRACT_SUBVECTOR, DL, MVT::v8i32, In,
+ SDValue OpLo = DAG.getNode(ISD::EXTRACT_SUBVECTOR, DL, MVT::v4i32, In,
DAG.getIntPtrConstant(0, DL));
- SDValue OpHi = DAG.getNode(ISD::EXTRACT_SUBVECTOR, DL, MVT::v8i32, In,
+ SDValue OpHi = DAG.getNode(ISD::EXTRACT_SUBVECTOR, DL, MVT::v4i32, In,
DAG.getIntPtrConstant(4, DL));
// The PSHUFB mask:
More information about the llvm-commits
mailing list