[PATCH] D68011: [RISCV] Split SP adjustment to reduce the offset of callee saved register spill and restore
Luís Marques via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Sep 25 13:19:37 PDT 2019
luismarques added a comment.
`getFirstSPAdjustAmount` does a non-trivial amount of work. Instead of calling it repeatedly it would be better to call it once per prologue/epilogue generation, and cache the result in a local variable.
With that fixed it LGTM.
Repository:
rL LLVM
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D68011/new/
https://reviews.llvm.org/D68011
More information about the llvm-commits
mailing list