Skip to content

Commit 477ab4d

Browse files
author
mattarde
committed
revert fp16 or avx102
1 parent 9402e84 commit 477ab4d

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
@@ -38365,8 +38365,7 @@ static bool matchUnaryShuffle(MVT MaskVT, ArrayRef<int> Mask,
3836538365

3836638366
// Match against a VZEXT_MOVL instruction, SSE1 only supports 32-bits (MOVSS).
3836738367
if (((MaskEltSize == 32) || (MaskEltSize == 64 && Subtarget.hasSSE2()) ||
38368-
(MaskEltSize == 16 &&
38369-
(Subtarget.hasFP16() || Subtarget.hasAVX10_2()))) &&
38368+
(MaskEltSize == 16 && Subtarget.hasFP16())) &&
3837038369
isUndefOrEqual(Mask[0], 0) &&
3837138370
isUndefOrZeroInRange(Mask, 1, NumMaskElts - 1)) {
3837238371
Shuffle = X86ISD::VZEXT_MOVL;

0 commit comments

Comments
 (0)