[PATCH] D91719: [RISCV] Add support for using -msave-restore with tailcalls

Jessica Clarke via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 18 08:43:21 PST 2020


jrtc27 added inline comments.


================
Comment at: llvm/lib/Target/RISCV/RISCVFrameLowering.cpp:850
+
+      switch (MI->getOperand(0).getType()) {
+      default:
----------------
We should not need to duplicate all this code surely? Certainly these need to honour the code model and not assume medlow.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D91719



More information about the llvm-commits mailing list