Skip to content

Commit 9f2241b

Browse files
author
mattarde
committed
add f16
1 parent 55edbe3 commit 9f2241b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/Target/X86/X86ISelLowering.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2441,7 +2441,7 @@ X86TargetLowering::X86TargetLowering(const X86TargetMachine &TM,
24412441
setOperationAction(ISD::SETCC, VT, Custom);
24422442
}
24432443
}
2444-
for (auto VT : { MVT::f32, MVT::f64}) {
2444+
for (auto VT : { MVT::f16, MVT::f32, MVT::f64}) {
24452445
setCondCodeAction(ISD::SETOEQ, VT, Custom);
24462446
setCondCodeAction(ISD::SETUNE, VT, Custom);
24472447
}

0 commit comments

Comments
 (0)