Compiler projects using llvm
; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
; RUN: llc < %s -mtriple=i686-- -mcpu=yonah | FileCheck %s

declare i1 @llvm.isunordered.f64(double, double)
define i1 @test1(double %X, double %Y) {
; CHECK-LABEL: test1:
; CHECK:       # %bb.0:
; CHECK-NEXT:    movsd {{.*#+}} xmm0 = mem[0],zero
; CHECK-NEXT:    ucomisd {{[0-9]+}}(%esp), %xmm0
; CHECK-NEXT:    setp %al
; CHECK-NEXT:    retl
        %COM = fcmp uno double %X, %Y           ; <i1> [#uses=1]
        ret i1 %COM
}