1 ; RUN: llvm-as < %s | llc -march=thumb -mattr=+thumb2 | FileCheck %s
3 define i64 @f1(i64 %a, i64 %b) {
6 ; CHECK: subs r0, r0, r2
12 define i64 @f2(i64 %a, i64 %b) {
15 ; CHECK: adds r0, r0, r0
17 ; CHECK: subs r0, r0, r2
20 %tmp2 = sub i64 %tmp1, %b