Skip to content

Commit 310d4a1

Browse files
committed
[RISCV] Correct comments in rv64-stackmap.ll to not use X86 register name. NFC
NOTE: X86 forces a frame pointer for stackmaps/patchpoint. So they use RBP where we use SP.
1 parent 4a5692d commit 310d4a1

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
@@ -282,8 +282,8 @@ define void @liveConstant() {
282282
; CHECK-NEXT: .half 0
283283
; CHECK-NEXT: .half 28
284284
;
285-
; Check that at least one is a spilled entry from RBP.
286-
; Location: Indirect RBP + ...
285+
; Check that at least one is a spilled entry from SP.
286+
; Location: Indirect SP + ...
287287
; CHECK: .byte 3
288288
; CHECK-NEXT: .byte 0
289289
; CHECK-NEXT: .half 8
@@ -303,7 +303,7 @@ entry:
303303
; CHECK-NEXT: .half 0
304304
; 1 location
305305
; CHECK-NEXT: .half 1
306-
; Loc 0: Direct RBP - ofs
306+
; Loc 0: Direct SP + ofs
307307
; CHECK-NEXT: .byte 2
308308
; CHECK-NEXT: .byte 0
309309
; CHECK-NEXT: .half 8
@@ -316,14 +316,14 @@ entry:
316316
; CHECK-NEXT: .half 0
317317
; 2 locations
318318
; CHECK-NEXT: .half 2
319-
; Loc 0: Direct RBP - ofs
319+
; Loc 0: Direct SP + ofs
320320
; CHECK-NEXT: .byte 2
321321
; CHECK-NEXT: .byte 0
322322
; CHECK-NEXT: .half 8
323323
; CHECK-NEXT: .half 2
324324
; CHECK-NEXT: .half 0
325325
; CHECK-NEXT: .word
326-
; Loc 1: Direct RBP - ofs
326+
; Loc 1: Direct SP + ofs
327327
; CHECK-NEXT: .byte 2
328328
; CHECK-NEXT: .byte 0
329329
; CHECK-NEXT: .half 8

0 commit comments

Comments
 (0)