[PATCH] D62686: [RISCV] Add support for save/restore of callee-saved registers via libcalls
Fangrui Song via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Jul 5 01:07:46 PDT 2019
MaskRay added inline comments.
================
Comment at: lib/Target/RISCV/RISCVFrameLowering.cpp:399
+
+ switch (MaxReg) {
+ default:
----------------
MaskRay wrote:
> `switch (*std::max_element(CSI.begin(), CSI.end())) {`
Sorry, please ignore the `max_element` comment.
Repository:
rL LLVM
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D62686/new/
https://reviews.llvm.org/D62686
More information about the llvm-commits
mailing list