[PATCH] D100532: [RISCV] Don't emit save-restore call if function is a interrupt handler

Simon Cook via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 15 01:27:59 PDT 2021


simoncook added a comment.

This LGTM, I've left a note on a potential comment update, but otherwise looks good



================
Comment at: llvm/lib/Target/RISCV/RISCVMachineFunctionInfo.h:63
     // We cannot use fixed locations for the callee saved spill slots if the
     // function uses a varargs save area.
     return MF.getSubtarget<RISCVSubtarget>().enableSaveRestore() &&
----------------
Can you update this comment to put `, or is an interrupt handler`


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D100532



More information about the llvm-commits mailing list