Skip to content

Commit 920ef7c

Browse files
RKSimonZijunZhaoCCK
authored andcommitted
[AArch64] ushl_sat.ll - regenerate checks. NFC.
Add missing asm comments to reduce a future diff.
1 parent 985f2ab commit 920ef7c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

llvm/test/CodeGen/AArch64/ushl_sat.ll

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ define i16 @combine_shlsat_by_zero(i16 %x, i16 %y) nounwind {
7474
define i16 @combine_shlsat_constfold(i16 %x, i16 %y) nounwind {
7575
; CHECK-LABEL: combine_shlsat_constfold:
7676
; CHECK: // %bb.0:
77-
; CHECK-NEXT: mov w0, #32
77+
; CHECK-NEXT: mov w0, #32 // =0x20
7878
; CHECK-NEXT: ret
7979
%tmp = call i16 @llvm.ushl.sat.i16(i16 8, i16 2)
8080
ret i16 %tmp
@@ -84,7 +84,7 @@ define i16 @combine_shlsat_constfold(i16 %x, i16 %y) nounwind {
8484
define i16 @combine_shlsat_satmax(i16 %x, i16 %y) nounwind {
8585
; CHECK-LABEL: combine_shlsat_satmax:
8686
; CHECK: // %bb.0:
87-
; CHECK-NEXT: mov w0, #65535
87+
; CHECK-NEXT: mov w0, #65535 // =0xffff
8888
; CHECK-NEXT: ret
8989
%tmp = call i16 @llvm.ushl.sat.i16(i16 8, i16 15)
9090
ret i16 %tmp
@@ -98,8 +98,8 @@ define void @combine_shlsat_vector() nounwind {
9898
; CHECK-LABEL: combine_shlsat_vector:
9999
; CHECK: // %bb.0:
100100
; CHECK-NEXT: str x30, [sp, #-16]! // 8-byte Folded Spill
101-
; CHECK-NEXT: mov w0, #32
102-
; CHECK-NEXT: mov w1, #65535
101+
; CHECK-NEXT: mov w0, #32 // =0x20
102+
; CHECK-NEXT: mov w1, #65535 // =0xffff
103103
; CHECK-NEXT: bl sink2xi16
104104
; CHECK-NEXT: ldr x30, [sp], #16 // 8-byte Folded Reload
105105
; CHECK-NEXT: ret

0 commit comments

Comments
 (0)