summaryrefslogtreecommitdiff
path: root/test/CodeGen/Thumb2/carry.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/Thumb2/carry.ll')
-rw-r--r--test/CodeGen/Thumb2/carry.ll8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/CodeGen/Thumb2/carry.ll b/test/CodeGen/Thumb2/carry.ll
index 26622e23dd44..1e2b332be982 100644
--- a/test/CodeGen/Thumb2/carry.ll
+++ b/test/CodeGen/Thumb2/carry.ll
@@ -12,10 +12,10 @@ entry:
define i64 @f2(i64 %a, i64 %b) {
entry:
; CHECK-LABEL: f2:
-; CHECK: adds r0, r0, r0
-; CHECK: adcs r1, r1
-; CHECK: subs r0, r0, r2
-; CHECK: sbcs r1, r3
+; CHECK: lsls r1, r1, #1
+; CHECK: orr.w r1, r1, r0, lsr #31
+; CHECK: rsbs r0, r2, r0, lsl #1
+; CHECK: sbcs r1, r3
%tmp1 = shl i64 %a, 1
%tmp2 = sub i64 %tmp1, %b
ret i64 %tmp2