1 ; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
2 ; RUN: llc -mtriple=arm-eabi -mcpu=cortex-a8 %s -o - | FileCheck %s -check-prefix=A8
3 ; RUN: llc -mtriple=arm-eabi -mcpu=swift %s -o - | FileCheck %s -check-prefix=SWIFT
5 define i32 @t1(i32 %a, i32 %b) {
7 ; A8: @ %bb.0: @ %common.ret
10 ; A8-NEXT: mvneq r2, #0
11 ; A8-NEXT: add r0, r1, r2
15 ; SWIFT: @ %bb.0: @ %common.ret
16 ; SWIFT-NEXT: mov r2, #1
17 ; SWIFT-NEXT: cmp r0, #0
18 ; SWIFT-NEXT: mvneq r2, #0
19 ; SWIFT-NEXT: add r0, r1, r2
21 %tmp2 = icmp eq i32 %a, 0
22 br i1 %tmp2, label %cond_false, label %cond_true
29 %tmp7 = add i32 %b, -1