In ScheduleDAGRRList::CopyAndMoveSuccessors, create the SUnit for the load
authorDan Gohman <gohman@apple.com>
Tue, 11 Nov 2008 21:34:44 +0000 (21:34 +0000)
committerDan Gohman <gohman@apple.com>
Tue, 11 Nov 2008 21:34:44 +0000 (21:34 +0000)
commitb13af2f2ec2fd8dc215136cf8783d70225b59f66
treead97fdaf7c9fb5b2870199004b071faac07e8508
parenteb9dbf117f1cc4da9b333dd6e410638ddd974f55
In ScheduleDAGRRList::CopyAndMoveSuccessors, create the SUnit for the load
before creating the SUnit for the operation that it was unfolded from. This
allows each SUnit to have all of its predecessor SUnits available at the time
it is created. I don't know yet if this will be absolutely required, but it
is a little tidier to do it this way.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@59083 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/SelectionDAG/ScheduleDAGRRList.cpp