Skip to content

Commit da9493c

Browse files
author
mattarde
committed
update review comments faulty commit
1 parent 92c9471 commit da9493c

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

llvm/lib/Target/X86/X86ISelLowering.cpp

+3-5
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ X86TargetLowering::X86TargetLowering(const X86TargetMachine &TM,
224224
}
225225

226226
if (Subtarget.hasAVX10_2()) {
227-
for (auto VT : {MVT::f32, MVT::f64}) {
227+
for (auto VT : {MVT::f16, MVT::f32, MVT::f64}) {
228228
setCondCodeAction(ISD::SETOEQ, VT, Custom);
229229
setCondCodeAction(ISD::SETUNE, VT, Custom);
230230
}
@@ -2298,10 +2298,8 @@ X86TargetLowering::X86TargetLowering(const X86TargetMachine &TM,
22982298
setOperationAction(ISD::FP_EXTEND, MVT::f32, Legal);
22992299
setOperationAction(ISD::STRICT_FP_EXTEND, MVT::f32, Legal);
23002300

2301-
setCondCodeAction(ISD::SETOEQ, MVT::f16,
2302-
Subtarget.hasAVX10_2() ? Custom : Expand);
2303-
setCondCodeAction(ISD::SETUNE, MVT::f16,
2304-
Subtarget.hasAVX10_2() ? Custom : Expand);
2301+
setCondCodeAction(ISD::SETOEQ, MVT::f16, Expand);
2302+
setCondCodeAction(ISD::SETUNE, MVT::f16, Expand);
23052303

23062304
if (Subtarget.useAVX512Regs()) {
23072305
setGroup(MVT::v32f16);

0 commit comments

Comments
 (0)