1 ; RUN: llc -mtriple=thumbv6m-eabi -verify-machineinstrs < %s | FileCheck --check-prefix=CHECK --check-prefix=T1 %s
2 ; RUN: llc -mtriple=thumbv7m-eabi -verify-machineinstrs < %s | FileCheck --check-prefix=CHECK --check-prefix=T2 %s
9 define i32 @addri1(i32 %a, i32 %b) {
11 %d = icmp eq i32 %c, 0
12 br i1 %d, label %true, label %false
20 ; CHECK-LABEL: addri2:
21 ; CHECK: adds r0, #254
24 define i32 @addri2(i32 %a, i32 %b) {
26 %d = icmp eq i32 %c, 0
27 br i1 %d, label %true, label %false