aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/Thumb2/thumb2-add6.ll
blob: 0ecaa793909f7c3a0fad8953463e986b7e0c383c (plain)
1
2
3
4
5
6
7
8
9
; RUN: llc < %s -march=thumb -mattr=+thumb2 | FileCheck %s

define i64 @f1(i64 %a, i64 %b) {
; CHECK: f1:
; CHECK: adds r0, r0, r2
; CHECK: adcs r1, r3
    %tmp = add i64 %a, %b
    ret i64 %tmp
}