e19d552987
Former-commit-id: 4db48158d3a35497b8f118ab21b5f08ac3d86d98
10 lines
212 B
LLVM
10 lines
212 B
LLVM
; RUN: llc < %s -mtriple=i686-- | 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
|
|
}
|
|
|