blob: ee927069812432360f1cf36f9d043952bbaff774 [file] [log] [blame]
Owen Anderson630077e2015-11-20 08:16:13 +00001; RUN: opt -S -reassociate < %s | FileCheck %s
2
3define void @test1() {
4; CHECK-LABEL: @test1
5; CHECK: call
6; CHECK: fsub
7; CHECK: fadd
8 %tmp = tail call <4 x float> @blam()
9 %tmp23 = fsub fast <4 x float> undef, %tmp
10 %tmp24 = fadd fast <4 x float> %tmp23, undef
11 tail call void @wombat(<4 x float> %tmp24)
12 ret void
13}
14
15; Function Attrs: optsize
16declare <4 x float> @blam()
17
18; Function Attrs: optsize
19declare void @wombat(<4 x float>)
20