[all-commits] [llvm/llvm-project] 4358fa: [Statepoints] Update DAG root after emitting state...

dantrushin via All-commits all-commits at lists.llvm.org
Wed Sep 9 06:22:42 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 4358fa782e3def5176f6e70c72de8e65702aeb0f
      https://github.com/llvm/llvm-project/commit/4358fa782e3def5176f6e70c72de8e65702aeb0f
  Author: Denis Antrushin <dantrushin at gmail.com>
  Date:   2020-09-09 (Wed, 09 Sep 2020)

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

  Log Message:
  -----------
  [Statepoints] Update DAG root after emitting statepoint.

Since we always generate CopyToRegs for statepoint results,
we must update DAG root after emitting statepoint, so that
these copies are scheduled before any possible local uses.
Note: getControlRoot() flushes all PendingExports, not only
those we generates for relocates. If that'll become a problem,
we can change it to flushing relocate exports only.

Reviewed By: reames

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




More information about the All-commits mailing list