We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5fa2318 commit f7e1482Copy full SHA for f7e1482
llvm/test/CodeGen/AArch64/icmp-cst.ll
@@ -397,6 +397,19 @@ define i1 @sge_99999999(i32 noundef %in) {
397
%out = icmp ugt i32 %in, -1717986920
398
ret i1 %out
399
}
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
413
;; NOTE: These prefixes are unused and the list is autogenerated. Do not add tests below this line:
414
; CHECK-GI: {{.*}}
415
; CHECK-SD: {{.*}}
0 commit comments