[PATCH] D156407: [RISCV] Use max pushed register to get pushed register number.

KaiYi via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 31 03:41:12 PDT 2023


KYG added inline comments.


================
Comment at: llvm/test/CodeGen/RISCV/callee-saved-gprs.ll:1994-1995
+
+; Test some registers needed saved and there is a call saved register
+; which is smaller than them and not needed to be saved.
+define void @foo() {
----------------
How about mentioning that it's testing stack size calculation?



Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D156407/new/

https://reviews.llvm.org/D156407



More information about the llvm-commits mailing list