YouCompleteMe/cpp/llvm/test/CodeGen/X86/isnan.ll

10 lines
207 B
LLVM
Raw Normal View History

2012-07-05 20:51:06 -04:00
; RUN: llc < %s -march=x86 | not grep call
declare i1 @llvm.isunordered.f64(double)
define i1 @test_isnan(double %X) {
%R = fcmp uno double %X, %X ; <i1> [#uses=1]
ret i1 %R
}