[PATCH] D62686: [RISCV] Add support for save/restore of callee-saved registers via libcalls
Ana Pazos via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Oct 2 20:07:56 PDT 2019
apazos added inline comments.
================
Comment at: llvm/lib/Target/RISCV/RISCVFrameLowering.cpp:631
+ MachineBasicBlock::iterator NewMI =
+ BuildMI(MBB, MI, DL, TII.get(RISCV::PseudoCALL))
+ .add(MI->getOperand(0));
----------------
Where are we making sure the PseudoCALL result in a0 is alive through the riscv_restore call?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D62686/new/
https://reviews.llvm.org/D62686
More information about the cfe-commits
mailing list