1 ; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
2 ; RUN: llc < %s -mtriple=i686-- -mattr=+sse2 | FileCheck %s
4 define void @f(float %wt) {
6 ; CHECK: # %bb.0: # %entry
7 ; CHECK-NEXT: pushl $44
8 ; CHECK-NEXT: .cfi_adjust_cfa_offset 4
9 ; CHECK-NEXT: calll g@PLT
10 ; CHECK-NEXT: addl $4, %esp
11 ; CHECK-NEXT: .cfi_adjust_cfa_offset -4
12 ; CHECK-NEXT: xorps %xmm0, %xmm0
13 ; CHECK-NEXT: movss {{.*#+}} xmm1 = mem[0],zero,zero,zero
14 ; CHECK-NEXT: ucomiss %xmm0, %xmm1
17 %0 = fcmp ogt float %wt, 0.000000e+00 ; <i1> [#uses=1]
18 %1 = tail call i32 @g(i32 44) ; <i32> [#uses=3]
19 %2 = inttoptr i32 %1 to ptr ; <ptr> [#uses=2]
20 br i1 %0, label %bb, label %bb1