diff options
author | Denis Antrushin <dantrushin@gmail.com> | 2020-09-07 22:04:07 +0700 |
---|---|---|
committer | Denis Antrushin <dantrushin@gmail.com> | 2020-09-09 20:22:10 +0700 |
commit | 4358fa782e3def5176f6e70c72de8e65702aeb0f (patch) | |
tree | 58752a147b82ad818efee59741ebd18a66ded40c /llvm/lib/CodeGen/MachinePipeliner.cpp | |
parent | b29bdab8c76dbeda7786ef8e0d1bf58376955795 (diff) | |
download | llvm-4358fa782e3def5176f6e70c72de8e65702aeb0f.zip llvm-4358fa782e3def5176f6e70c72de8e65702aeb0f.tar.gz llvm-4358fa782e3def5176f6e70c72de8e65702aeb0f.tar.bz2 |
[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
Diffstat (limited to 'llvm/lib/CodeGen/MachinePipeliner.cpp')
0 files changed, 0 insertions, 0 deletions