llvm/test/CodeGen/Thumb2/2009-08-07-CoalescerBug.ll
raw| 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 | |
| 8 | declare arm_aapcs_vfpcc float @bar(ptr) |
| 9 | |
| 10 | define arm_aapcs_vfpcc void @foo(ptr %x, ptr %y) { |
| 11 | entry: |
| 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 | } |