xref: /llvm-project/llvm/test/CodeGen/ARM/2009-11-13-CoalescerCrash.ll (revision bed1c7f061aa12417aa081e334afdba45767b938)
1; RUN: llc -mtriple=armv7-eabi -mcpu=cortex-a8 < %s
2; PR5410
3
4%0 = type { float, float, float, float }
5%pln = type { %vec, float }
6%vec = type { [4 x float] }
7
8define arm_aapcs_vfpcc float @aaa(ptr nocapture %ustart, ptr nocapture %udir, ptr nocapture %vstart, ptr nocapture %vdir, ptr %upoint, ptr %vpoint) {
9entry:
10  br i1 undef, label %bb81, label %bb48
11
12bb48:                                             ; preds = %entry
13  %0 = call arm_aapcs_vfpcc  %0 @bbb(ptr undef, ptr %vstart, ptr undef) nounwind ; <%0> [#uses=0]
14  ret float 0.000000e+00
15
16bb81:                                             ; preds = %entry
17  ret float 0.000000e+00
18}
19
20declare arm_aapcs_vfpcc %0 @bbb(ptr nocapture, ptr nocapture, ptr nocapture) nounwind
21