comparison test/CodeGen/X86/2007-01-08-InstrSched.ll @ 0:95c75e76d11b LLVM3.4

LLVM 3.4
author Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp>
date Thu, 12 Dec 2013 13:56:28 +0900
parents
children 803732b1fca8
comparison
equal deleted inserted replaced
-1:000000000000 0:95c75e76d11b
1 ; PR1075
2 ; RUN: llc < %s -mcpu=generic -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: mulss
17 ; CHECK: mulss
18 ; CHECK: addss
19 ; CHECK: addss
20 ; CHECK: addss
21 ; CHECK: ret
22 }