blob: 2b66ea0491e48e5d760df1d7c9595e774abf0cd0 [file] [log] [blame]
Evan Chengfd842082007-01-09 00:09:34 +00001; RUN: llvm-as < %s | llc -mtriple=x86_64-apple-darwin | \
Evan Chengb17ef452007-01-08 23:58:27 +00002; 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}