Skip to content

Commit ca00234

Browse files
authored
[RISCV] Correct comments in rv64-stackmap.ll to not use X86 register name. NFC (#165912)
Note, X86 forces a frame pointer for stackmaps/patchpoint. So they use RBP where we use SP.
1 parent 0623497 commit ca00234

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

llvm/test/CodeGen/RISCV/rv64-stackmap.ll

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -286,8 +286,8 @@ define void @liveConstant() {
286286
; CHECK-NEXT: .half 0
287287
; CHECK-NEXT: .half 28
288288
;
289-
; Check that at least one is a spilled entry from RBP.
290-
; Location: Indirect RBP + ...
289+
; Check that at least one is a spilled entry from SP.
290+
; Location: Indirect SP + ...
291291
; CHECK: .byte 3
292292
; CHECK-NEXT: .byte 0
293293
; CHECK-NEXT: .half 8
@@ -307,7 +307,7 @@ entry:
307307
; CHECK-NEXT: .half 0
308308
; 1 location
309309
; CHECK-NEXT: .half 1
310-
; Loc 0: Direct RBP - ofs
310+
; Loc 0: Direct SP + ofs
311311
; CHECK-NEXT: .byte 2
312312
; CHECK-NEXT: .byte 0
313313
; CHECK-NEXT: .half 8
@@ -320,14 +320,14 @@ entry:
320320
; CHECK-NEXT: .half 0
321321
; 2 locations
322322
; CHECK-NEXT: .half 2
323-
; Loc 0: Direct RBP - ofs
323+
; Loc 0: Direct SP + ofs
324324
; CHECK-NEXT: .byte 2
325325
; CHECK-NEXT: .byte 0
326326
; CHECK-NEXT: .half 8
327327
; CHECK-NEXT: .half 2
328328
; CHECK-NEXT: .half 0
329329
; CHECK-NEXT: .word
330-
; Loc 1: Direct RBP - ofs
330+
; Loc 1: Direct SP + ofs
331331
; CHECK-NEXT: .byte 2
332332
; CHECK-NEXT: .byte 0
333333
; CHECK-NEXT: .half 8

0 commit comments

Comments
 (0)