[all-commits] [llvm/llvm-project] 7b19cd: [Statepoints][ISEL] visitGCRelocate: chain to curr...

dantrushin via All-commits all-commits at lists.llvm.org
Fri Oct 2 07:42:13 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 7b19cd06d732e9c3db326dc9b9c82d66dc624fd2
      https://github.com/llvm/llvm-project/commit/7b19cd06d732e9c3db326dc9b9c82d66dc624fd2
  Author: Denis Antrushin <dantrushin at gmail.com>
  Date:   2020-10-02 (Fri, 02 Oct 2020)

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/StatepointLowering.cpp
    M llvm/test/CodeGen/X86/statepoint-vreg-details.ll

  Log Message:
  -----------
  [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




More information about the All-commits mailing list