We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d3099a4 commit d3a2366Copy full SHA for d3a2366
src/intrinsics/llvm.rs
@@ -64,23 +64,11 @@ pub(crate) fn codegen_llvm_intrinsic_call<'tcx>(
64
0 => FloatCC::Equal,
65
1 => FloatCC::LessThan,
66
2 => FloatCC::LessThanOrEqual,
67
- 7 => {
68
- unimplemented!(
69
- "Compares corresponding elements in `a` and `b` to see if neither is `NaN`."
70
- );
71
- }
72
- 3 => {
73
74
- "Compares corresponding elements in `a` and `b` to see if either is `NaN`."
75
76
+ 7 => FloatCC::Ordered,
+ 3 => FloatCC::Unordered,
77
4 => FloatCC::NotEqual,
78
- 5 => {
79
- unimplemented!("not less than");
80
81
- 6 => {
82
- unimplemented!("not less than or equal");
83
+ 5 => FloatCC::UnorderedOrGreaterThanOrEqual,
+ 6 => FloatCC::UnorderedOrGreaterThan,
84
kind => unreachable!("kind {:?}", kind),
85
};
86
0 commit comments