1 ; RUN: llc -mtriple=arm-eabi -mcpu=cortex-a8 %s -o - | FileCheck %s
2 ; RUN: llc -mtriple=arm-eabi -mattr=+v4t %s -o - | FileCheck %s -check-prefix CHECK-V4-CMP
3 ; RUN: llc -mtriple=arm-eabi -mattr=+v4t %s -o - | FileCheck %s -check-prefix CHECK-V4-BX
5 define i32 @t1(i32 %a, i32 %b, i32 %c, i32 %d) {
9 switch i32 %c, label %cond_next [
10 i32 1, label %cond_true
11 i32 7, label %cond_true
17 %tmp12 = add i32 %a, 1
18 %tmp1518 = add i32 %tmp12, %b
22 %tmp15 = add i32 %b, %a
27 ; CHECK-V4-CMP-NOT: cmpne