Evan Cheng | 296925d | 2009-09-23 06:28:31 +0000 | [diff] [blame] | 1 | ; RUN: llc < %s -mtriple=armv7-none-linux-gnueabi -mattr=+neon |
| 2 | |
| 3 | ; PR5024 |
| 4 | |
| 5 | %bar = type { %foo, %foo } |
| 6 | %foo = type { <4 x float> } |
| 7 | |
| 8 | declare arm_aapcs_vfpcc float @aaa(%foo* nocapture) nounwind readonly |
| 9 | |
| 10 | declare arm_aapcs_vfpcc %bar* @bbb(%bar*, <4 x float>, <4 x float>) nounwind |
| 11 | |
| 12 | define arm_aapcs_vfpcc void @ccc(i8* nocapture %pBuffer, i32 %numItems) nounwind { |
| 13 | entry: |
| 14 | br i1 undef, label %return, label %bb.nph |
| 15 | |
| 16 | bb.nph: ; preds = %entry |
| 17 | %0 = call arm_aapcs_vfpcc %bar* @bbb(%bar* undef, <4 x float> undef, <4 x float> undef) nounwind ; <%bar*> [#uses=0] |
| 18 | %1 = call arm_aapcs_vfpcc float @aaa(%foo* undef) nounwind ; <float> [#uses=0] |
| 19 | unreachable |
| 20 | |
| 21 | return: ; preds = %entry |
| 22 | ret void |
| 23 | } |