1 ; RUN: opt -reassociate -S < %s | FileCheck %s
3 target triple = "armv7-apple-ios"
5 declare void @use(float)
8 define void @test(float %x, float %y) {
10 ; CHECK: fmul float %x, %y
11 ; CHECK: fmul float %x, %y
12 %0 = fmul float %x, %y
13 %1 = fmul float %y, %x
14 %2 = fsub float %0, %1
15 call void @use(float %0)
16 call void @use(float %2)