[PATCH] D114246: [RISCV] Fix a bug in RISCVFrameLowering.
Craig Topper via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Nov 24 14:48:36 PST 2021
craig.topper added inline comments.
================
Comment at: llvm/test/CodeGen/RISCV/rvv/no-reserved-frame.ll:34
; CHECK-NEXT: sd t2, 8(sp)
-; CHECK-NEXT: addi a1, sp, 40
; CHECK-NEXT: sd t1, 0(sp)
----------------
I believe this is the incorrect calculation. It's after the `addi sp, sp, -32`. The 40 doesn't consider the -32 adjustment that was made.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D114246/new/
https://reviews.llvm.org/D114246
More information about the llvm-commits
mailing list