Skip to content

Commit fcd7058

Browse files
committed
Update intrinsics-overflow.ll
1 parent 190db4b commit fcd7058

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/test/CodeGen/ARM/intrinsics-overflow.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ define i32 @ssub_overflow(i32 %a, i32 %b) #0 {
123123
;
124124
; THUMBV6-LABEL: ssub_overflow:
125125
; THUMBV6: @ %bb.0:
126-
; THUMBV6-NEXT: subs r0, r0, r1
126+
; THUMBV6-NEXT: cmp r0, r1
127127
; THUMBV6-NEXT: bvc .LBB3_2
128128
; THUMBV6-NEXT: @ %bb.1:
129129
; THUMBV6-NEXT: movs r0, #1

0 commit comments

Comments
 (0)