Merging r259740:
[oota-llvm.git] / test / CodeGen / Thumb2 / 2009-08-07-CoalescerBug.ll
1 ; RUN: llc < %s -mtriple=armv7-eabi -mattr=+vfp2
2 ; PR4686
3
4         %a = type { i32 (...)** }
5         %b = type { %a }
6         %c = type { float, float, float, float }
7
8 declare arm_aapcs_vfpcc float @bar(%c*)
9
10 define arm_aapcs_vfpcc void @foo(%b* %x, %c* %y) {
11 entry:
12         %0 = call arm_aapcs_vfpcc  float @bar(%c* %y)           ; <float> [#uses=0]
13         %1 = fadd float undef, undef            ; <float> [#uses=1]
14         store float %1, float* undef, align 8
15         ret void
16 }