[PATCH] D134599: [RISCV] Readjusting the framestack for Zcmp
Craig Topper via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jun 21 09:50:13 PDT 2023
craig.topper added inline comments.
Herald added a subscriber: wangpc.
================
Comment at: llvm/lib/Target/RISCV/RISCVFrameLowering.cpp:231
+// registers to store/load.
+static int getPushPopEncoding(const Register MaxReg) {
+ switch (MaxReg) {
----------------
Why does this return`int`? Aren't all the enum values positive?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D134599/new/
https://reviews.llvm.org/D134599
More information about the llvm-commits
mailing list