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