Skip to content

Commit f7e1482

Browse files
committed
ult
1 parent 5fa2318 commit f7e1482

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

llvm/test/CodeGen/AArch64/icmp-cst.ll

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -397,6 +397,19 @@ define i1 @sge_99999999(i32 noundef %in) {
397397
%out = icmp ugt i32 %in, -1717986920
398398
ret i1 %out
399399
}
400+
401+
define i1 @ult_20014852997121(i64 noundef %in) {
402+
; CHECK-LABEL: ult_20014852997121:
403+
; CHECK: // %bb.0:
404+
; CHECK-NEXT: mov x8, #305397760 // =0x12340000
405+
; CHECK-NEXT: movk x8, #4660, lsl #32
406+
; CHECK-NEXT: cmp x0, x8
407+
; CHECK-NEXT: cset w0, ls
408+
; CHECK-NEXT: ret
409+
%out = icmp ult i64 %in, 20014852997121
410+
ret i1 %out
411+
}
412+
400413
;; NOTE: These prefixes are unused and the list is autogenerated. Do not add tests below this line:
401414
; CHECK-GI: {{.*}}
402415
; CHECK-SD: {{.*}}

0 commit comments

Comments
 (0)