If unfolding an SUnit results in both load or the operation using it which
already exist in the DAG, abort the unfold if they are already scheduled.
If not, make sure we don't add duplicate dependencies.
This fixes PR37916.
Paths
| Differential D48666
[ScheduleDAG] Fix unfolding of SUnits to already existent nodes. ClosedPublic Authored by niravd on Jun 27 2018, 12:13 PM.
Details Summary If unfolding an SUnit results in both load or the operation using it which This fixes PR37916.
Diff Detail
Event TimelineComment Actions LGTM with one nit
This revision is now accepted and ready to land.Jul 17 2018, 12:28 PM Closed by commit rL337409: [ScheduleDAG] Fix unfolding of SUnits to already existent nodes. (authored by niravd). · Explain WhyJul 18 2018, 11:06 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 156113 llvm/trunk/lib/CodeGen/SelectionDAG/ScheduleDAGRRList.cpp
llvm/trunk/test/CodeGen/X86/pr37916.ll
|