diff options
author | Eli Friedman <efriedma@quicinc.com> | 2019-10-04 19:51:40 +0000 |
---|---|---|
committer | Eli Friedman <efriedma@quicinc.com> | 2019-10-04 19:51:40 +0000 |
commit | 23ae13d51f23018eb88a2b78223604d4ccc64cce (patch) | |
tree | 77ae3d1ea28efa0cd01f52c92b0aacbe85750135 /lldb/packages/Python/lldbsuite/test/python_api/section/TestSectionAPI.py | |
parent | 9809ed61353c401ec390170a278d27fff78b7d19 (diff) | |
download | bcm5719-llvm-23ae13d51f23018eb88a2b78223604d4ccc64cce.tar.gz bcm5719-llvm-23ae13d51f23018eb88a2b78223604d4ccc64cce.zip |
[ScheduleDAG] When a node is cloned, add an edge between the nodes.
InstrEmitter's virtual register handling assumes that clones are emitted
after the cloned node. Make sure this assumption actually holds.
Fixes a "Node emitted out of order - early" assertion on the testcase.
This is probably a very rare case to actually hit in practice; even
without the explicit edge, the scheduler will usually end up scheduling
the nodes in the expected order due to other constraints.
Differential Revision: https://reviews.llvm.org/D68068
llvm-svn: 373782
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/section/TestSectionAPI.py')
0 files changed, 0 insertions, 0 deletions