1 ; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
2 ; RUN: llc < %s -enable-unsafe-fp-math -mtriple=i686-- | FileCheck %s
7 define i32 @test(double %p) nounwind {
10 ; CHECK-NEXT: fldl {{[0-9]+}}(%esp)
11 ; CHECK-NEXT: fucomp %st(0)
12 ; CHECK-NEXT: fnstsw %ax
13 ; CHECK-NEXT: # kill: def $ah killed $ah killed $ax
15 ; CHECK-NEXT: jp .LBB0_1
16 ; CHECK-NEXT: # %bb.2: # %UnifiedReturnBlock
17 ; CHECK-NEXT: movl $42, %eax
19 ; CHECK-NEXT: .LBB0_1: # %bb
20 ; CHECK-NEXT: calll test2@PLT
21 ; CHECK-NEXT: movl $17, %eax
23 %tmp5 = fcmp uno double %p, 0.000000e+00
24 br i1 %tmp5, label %bb, label %UnifiedReturnBlock