blob: 69b08a1d76b2abe0afcf12b4e27e1bc9f9562461 [file] [log] [blame]
Evan Chengb17ef452007-01-08 23:58:27 +00001; RUN: llvm-as < %s | llvm-as | llc -mtriple=x86_64-apple-darwin | \
2; RUN: %prcontext 'mulss LCPI1_3' 1 | grep mulss | wc -l | grep 1
3
4define float %foo(float %x) {
5 %tmp1 = mul float %x, 3.000000e+00
6 %tmp3 = mul float %x, 5.000000e+00
7 %tmp5 = mul float %x, 7.000000e+00
8 %tmp7 = mul float %x, 1.100000e+01
9 %tmp10 = add float %tmp1, %tmp3
10 %tmp12 = add float %tmp10, %tmp5
11 %tmp14 = add float %tmp12, %tmp7
12 ret float %tmp14
13}