Remove arm_apcscc from the test files. It is the default and doing this
[oota-llvm.git] / test / CodeGen / Thumb2 / thumb2-cbnz.ll
1 ; RUN: llc < %s -mtriple=thumbv7-apple-darwin -mcpu=cortex-a8 | FileCheck %s
2 ; rdar://7354379
3
4 declare double @floor(double) nounwind readnone
5
6 define void @t(i1 %a, double %b) {
7 entry:
8   br i1 %a, label %bb3, label %bb1
9
10 bb1:                                              ; preds = %entry
11   unreachable
12
13 bb3:                                              ; preds = %entry
14   br i1 %a, label %bb7, label %bb5
15
16 bb5:                                              ; preds = %bb3
17   unreachable
18
19 bb7:                                              ; preds = %bb3
20   br i1 %a, label %bb11, label %bb9
21
22 bb9:                                              ; preds = %bb7
23 ; CHECK:      cmp r0, #0
24 ; CHECK-NEXT: cmp r0, #0
25 ; CHECK-NEXT: cbnz
26   %0 = tail call  double @floor(double %b) nounwind readnone ; <double> [#uses=0]
27   br label %bb11
28
29 bb11:                                             ; preds = %bb9, %bb7
30   %1 = getelementptr i32* undef, i32 0
31   store i32 0, i32* %1
32   ret void
33 }