This is an archive of the discontinued LLVM Phabricator instance.

[Statepoints][ISEL] visitGCRelocate: chain to current DAG root.
ClosedPublic

Authored by dantrushin on Oct 1 2020, 1:28 AM.

Details

Summary

This is similar to D87251, but for CopyFromRegs nodes.
Even for local statepoint uses we generate CopyToRegs/CopyFromRegs
nodes. When generating CopyFromRegs in visitGCRelocate, we must chain
to current DAG root, not EntryNode, to ensure proper ordering of copy
w.r.t. statepoint node producing result for it.

Diff Detail

Event Timeline

dantrushin created this revision.Oct 1 2020, 1:28 AM
Herald added a project: Restricted Project. · View Herald TranscriptOct 1 2020, 1:28 AM
dantrushin requested review of this revision.Oct 1 2020, 1:28 AM
reames accepted this revision.Oct 1 2020, 11:35 AM

LGTM

This revision is now accepted and ready to land.Oct 1 2020, 11:35 AM