Skip to content

Commit 2287f8d

Browse files
authored
[NFC][X86] Fix check directive typo in preserve_none dynamic regmask test (#91048)
Fixes an inactive check line and updates the check to match output and other cases.
1 parent 6d6693e commit 2287f8d

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

llvm/test/CodeGen/X86/dynamic-regmask-preserve-none.ll

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ define preserve_nonecc i64 @callee1(i64 %a0, i64 %b0, i64 %c0, i64 %d0, i64 %e0)
1212
; CHECK-NOT: calleeSavedRegisters:
1313
; CHECK: RET 0, $rax
1414

15-
; Check that RegMask is csr_noregs.
15+
; Check that RegMask is csr_64_noneregs.
1616
define i64 @caller1(i64 %a0) nounwind {
1717
%b1 = call preserve_nonecc i64 @callee1(i64 %a0, i64 %a0, i64 %a0, i64 %a0, i64 %a0)
1818
%b2 = add i64 %b1, %a0
@@ -38,13 +38,13 @@ define preserve_nonecc {i64, i64} @callee2(i64 %a0, i64 %b0, i64 %c0, i64 %d0, i
3838
; CHECK: RET 0, $rax, $rdx
3939

4040

41-
; Check that RegMask is csr_noregs.
41+
; Check that RegMask is csr_64_noneregs.
4242
define {i64, i64} @caller2(i64 %a0) nounwind {
4343
%b1 = call preserve_nonecc {i64, i64} @callee2(i64 %a0, i64 %a0, i64 %a0, i64 %a0, i64 %a0)
4444
ret {i64, i64} %b1
4545
}
4646
; CHECK: name: caller2
47-
; CHECL: CALL64pcrel32 @callee2, csr_noregs
47+
; CHECK: CALL64pcrel32 @callee2, csr_64_noneregs
4848
; CHECK: RET 0, $rax, $rdx
4949

5050

@@ -53,7 +53,7 @@ define {i64, i64} @caller2(i64 %a0) nounwind {
5353
; Declare the callee with a sret parameter.
5454
declare preserve_nonecc void @callee3(ptr noalias nocapture writeonly sret(%struct.Large) align 4 %a0, i64 %b0) nounwind;
5555

56-
; Check that RegMask is csr_noregs.
56+
; Check that RegMask is csr_64_noneregs.
5757
define void @caller3(i64 %a0) nounwind {
5858
%a1 = alloca %struct.Large, align 8
5959
call preserve_nonecc void @callee3(ptr nonnull sret(%struct.Large) align 8 %a1, i64 %a0)
@@ -78,7 +78,7 @@ define preserve_nonecc {i64, double} @callee4(i64 %a0, i64 %b0, i64 %c0, i64 %d0
7878
; CHECK-NOT: calleeSavedRegisters:
7979
; CHECK: RET 0, $rax, $xmm0
8080

81-
; Check that RegMask is csr_noregs.
81+
; Check that RegMask is csr_64_noneregs.
8282
define {i64, double} @caller4(i64 %a0) nounwind {
8383
%b1 = call preserve_nonecc {i64, double} @callee4(i64 %a0, i64 %a0, i64 %a0, i64 %a0, i64 %a0)
8484
ret {i64, double} %b1

0 commit comments

Comments
 (0)