Home | History | Annotate | Download | only in X86
      1 ; PR1075
      2 ; RUN: llc < %s -mtriple=x86_64-apple-darwin -O3 | FileCheck %s
      3 
      4 define float @foo(float %x) nounwind {
      5     %tmp1 = fmul float %x, 3.000000e+00
      6     %tmp3 = fmul float %x, 5.000000e+00
      7     %tmp5 = fmul float %x, 7.000000e+00
      8     %tmp7 = fmul float %x, 1.100000e+01
      9     %tmp10 = fadd float %tmp1, %tmp3
     10     %tmp12 = fadd float %tmp10, %tmp5
     11     %tmp14 = fadd float %tmp12, %tmp7
     12     ret float %tmp14
     13 
     14 ; CHECK: mulss
     15 ; CHECK: mulss
     16 ; CHECK: addss
     17 ; CHECK: mulss
     18 ; CHECK: addss
     19 ; CHECK: mulss
     20 ; CHECK: addss
     21 ; CHECK: ret
     22 }
     23