blob: 93f5a0f6c41fde14b83b8525b585efc12d02ce29 [file] [log] [blame]
Dan Gohmanda594cf2009-09-09 00:09:15 +00001; RUN: llc < %s -mtriple=armv7-eabi -mattr=+vfp2
Evan Cheng93a8d432009-08-07 07:14:14 +00002; PR4686
3
4 %a = type { i32 (...)** }
5 %b = type { %a }
6 %c = type { float, float, float, float }
7
8declare arm_aapcs_vfpcc float @bar(%c*)
9
10define arm_aapcs_vfpcc void @foo(%b* %x, %c* %y) {
11entry:
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}