1 ; RUN: llc -march=x86-64 -mattr=-fma4 -mtriple=x86_64-apple-darwin -enable-unsafe-fp-math < %s | FileCheck %s
4 define float @test1(float %a) {
9 %t1 = fadd float %a, %a
10 %r = fadd float %t1, %t1
15 define float @test2(float %a) {
20 %t1 = fmul float 4.0, %a
21 %t2 = fadd float %a, %a
22 %r = fadd float %t1, %t2
27 define float @test3(float %a) {
32 %t1 = fmul float 2.0, %a
33 %t2 = fadd float %a, %a
34 %r = fsub float %t1, %t2