xref: /aosp_15_r20/external/llvm/test/CodeGen/X86/isnan.ll (revision 9880d6810fe72a1726cb53787c6711e909410d58)
1; RUN: llc < %s -march=x86 | not grep call
2
3declare i1 @llvm.isunordered.f64(double)
4
5define i1 @test_isnan(double %X) {
6        %R = fcmp uno double %X, %X             ; <i1> [#uses=1]
7        ret i1 %R
8}
9
10