[PATCH] D80191: MIR Statepoint refactoring: pass GC pointers in VRegs. Part 1/5.
Denis Antrushin via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Jun 1 10:12:34 PDT 2020
dantrushin marked an inline comment as done.
dantrushin added inline comments.
================
Comment at: llvm/lib/CodeGen/SelectionDAG/StatepointLowering.cpp:751
- // Compute return values. Provide a glue output since we consume one as
- // input. This allows someone else to chain off us as needed.
- SDVTList NodeTys = DAG.getVTList(MVT::Other, MVT::Glue);
+ SDValue STV = DAG.getStatepoint(getCurSDLoc(), ReturnVal, Ops);
----------------
reames wrote:
> How is it safe not to have memrefs on the node here? Maybe some discussion offline?
I simply have no space to put them into StatepointSDNode.
(They are part of MachineSDNode). So I add them in InstructionEmitter.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D80191/new/
https://reviews.llvm.org/D80191
More information about the llvm-commits
mailing list