[ARM] Enable shrink-wrapping by default.
[oota-llvm.git] / test / CodeGen / ARM / 2009-11-13-CoalescerCrash.ll
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
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
11
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
15
16 bb81:                                             ; preds = %entry
17   ret float 0.000000e+00
18 }
19
20 declare arm_aapcs_vfpcc %0 @bbb(%pln* nocapture, %vec* nocapture, %vec* nocapture) nounwind