Skip to content

Commit fc41a32

Browse files
mattardemahesh-attarde
authored andcommitted
revert fp16 or avx102
1 parent 1c4c16b commit fc41a32

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

llvm/lib/Target/X86/X86ISelLowering.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38342,8 +38342,7 @@ static bool matchUnaryShuffle(MVT MaskVT, ArrayRef<int> Mask,
3834238342

3834338343
// Match against a VZEXT_MOVL instruction, SSE1 only supports 32-bits (MOVSS).
3834438344
if (((MaskEltSize == 32) || (MaskEltSize == 64 && Subtarget.hasSSE2()) ||
38345-
(MaskEltSize == 16 &&
38346-
(Subtarget.hasFP16() || Subtarget.hasAVX10_2()))) &&
38345+
(MaskEltSize == 16 && Subtarget.hasFP16())) &&
3834738346
isUndefOrEqual(Mask[0], 0) &&
3834838347
isUndefOrZeroInRange(Mask, 1, NumMaskElts - 1)) {
3834938348
Shuffle = X86ISD::VZEXT_MOVL;

0 commit comments

Comments
 (0)