1 ; RUN: opt -S -reassociate < %s | FileCheck %s
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)
15 define half @test2() {
20 %tmp15 = fsub fast half undef, undef
21 %tmp17 = fsub fast half undef, %tmp15
22 %tmp18 = fadd fast half undef, %tmp17
28 ; Function Attrs: optsize
29 declare <4 x float> @blam()
31 ; Function Attrs: optsize
32 declare void @wombat(<4 x float>)