64ac736ec5
Former-commit-id: f3cc9b82f3e5bd8f0fd3ebc098f789556b44e9cd
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
|
|
}
|
|
|