]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - opencl/llvm.git/blob - test/CodeGen/ARM/2009-11-13-CoalescerCrash.ll
Updates to sync with changes in upstream.
[opencl/llvm.git] / test / CodeGen / ARM / 2009-11-13-CoalescerCrash.ll
1 ; RUN: llc -mtriple=armv7-eabi -mcpu=cortex-a8 < %s
2 ; PR5410
4 %0 = type { float, float, float, float }
5 %pln = type { %vec, float }
6 %vec = type { [4 x float] }
8 define arm_aapcs_vfpcc float @aaa(%vec* nocapture %ustart, %vec* nocapture %udir, %vec* nocapture %vstart, %vec* nocapture %vdir, %vec* %upoint, %vec* %vpoint) {
9 entry:
10   br i1 undef, label %bb81, label %bb48
12 bb48:                                             ; preds = %entry
13   %0 = call arm_aapcs_vfpcc  %0 @bbb(%pln* undef, %vec* %vstart, %vec* undef) nounwind ; <%0> [#uses=0]
14   ret float 0.000000e+00
16 bb81:                                             ; preds = %entry
17   ret float 0.000000e+00
18 }
20 declare arm_aapcs_vfpcc %0 @bbb(%pln* nocapture, %vec* nocapture, %vec* nocapture) nounwind