1 ; RUN: llc < %s -march=thumb -mattr=+thumb2 -mattr=+32bit | FileCheck %s 2 3 define i64 @f1(i64 %a, i64 %b) { 4 ; CHECK-LABEL: f1: 5 ; CHECK: subs.w r0, r0, r2 6 ; To test dead_carry, +32bit prevents sbc conveting to 16-bit sbcs 7 ; CHECK: sbc.w r1, r1, r3 8 %tmp = sub i64 %a, %b 9 ret i64 %tmp 10 } 11