summaryrefslogtreecommitdiff
path: root/llvm/test/CodeGen/RISCV/zcmp-additional-stack.ll
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test/CodeGen/RISCV/zcmp-additional-stack.ll')
-rw-r--r--llvm/test/CodeGen/RISCV/zcmp-additional-stack.ll7
1 files changed, 1 insertions, 6 deletions
diff --git a/llvm/test/CodeGen/RISCV/zcmp-additional-stack.ll b/llvm/test/CodeGen/RISCV/zcmp-additional-stack.ll
index ab72a99570d9..1d3bb66cc848 100644
--- a/llvm/test/CodeGen/RISCV/zcmp-additional-stack.ll
+++ b/llvm/test/CodeGen/RISCV/zcmp-additional-stack.ll
@@ -34,12 +34,7 @@ define ptr @func(ptr %s, i32 %_c, ptr %incdec.ptr, i1 %0, i8 %conv14) #0 {
; RV32-NEXT: mv a0, s1
; RV32-NEXT: addi sp, sp, 8
; RV32-NEXT: .cfi_def_cfa_offset 16
-; RV32-NEXT: cm.pop {ra, s0-s1}, 16
-; RV32-NEXT: .cfi_def_cfa_offset 0
-; RV32-NEXT: .cfi_restore ra
-; RV32-NEXT: .cfi_restore s0
-; RV32-NEXT: .cfi_restore s1
-; RV32-NEXT: ret
+; RV32-NEXT: cm.popret {ra, s0-s1}, 16
entry:
br label %while.body