HomePhabricator

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

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

Description

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

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.

Reviewed By: reames

Differential Revision: https://reviews.llvm.org/D88639

Details

Committed
dantrushinOct 2 2020, 7:41 AM
Reviewer
reames
Differential Revision
D88639: [Statepoints][ISEL] visitGCRelocate: chain to current DAG root.
Parents
rGc87c017a4c47: Fix failure in test hip-macros.hip
Branches
Unknown
Tags
Unknown