Displaying 1 result from an estimated 1 matches for "retinfos".
2019 Jul 24
2
About a new porting of GlobalIsel for RISCV
...an return correctly. The code snippet may be as
follows:
...
CCState CCInfo(F.getCallingConv(), F.isVarArg(), MF, ArgLocs, F.getContext());
TLI.analyzeOutputArgs(MF, CCInfo, Outs, true, nullptr);
RISCVValueHandler RetHandler(MIRBuilder, MF.getRegInfo(), Ret);
RetHandler.handleArg(ArgLocs, RetInfos);
...
In order to reduce duplicated code as much as possible, and reuse part
of code from "TargetLowering" for GlobalIsel, the access specifiers
for some functions in RISCVTargetLowering need be changed, like
"analyzeOutputArgs". I have made a separate patch for it:
https://re...