[PATCH] D59592: support ilp32e Calling Convention
Daliang Xu via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Mar 21 05:51:33 PDT 2019
xudaliang.pku marked an inline comment as done.
xudaliang.pku added inline comments.
================
Comment at: lib/Target/RISCV/RISCVRegisterInfo.cpp:137
+ if (MF.getSubtarget<RISCVSubtarget>().getTargetABI() == RISCVABI::ABI_ILP32E)
+ return CSR_E_Interrupt_RegMask;
return CSR_RegMask;
----------------
apazos wrote:
> Double check the mask, should not be the interrupt mask
It seems the check is done by RISCVRegisterInfo::getCalleeSavedRegs, So I don't need to do it again
Repository:
rL LLVM
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D59592/new/
https://reviews.llvm.org/D59592
More information about the llvm-commits
mailing list