Fix a bug Sabre was having where the DAG root was a group. The group dominator
authorJim Laskey <jlaskey@mac.com>
Sun, 18 Dec 2005 04:40:52 +0000 (04:40 +0000)
committerJim Laskey <jlaskey@mac.com>
Sun, 18 Dec 2005 04:40:52 +0000 (04:40 +0000)
commitbd2b6214862ccc33d3bb63005faa15c16ee51c49
treee230c3dff4f1475eba6461cf517ae07123decdc1
parent9022ed955adc8ecdc8ebf19bb05efea924d1ad0e
Fix a bug Sabre was having where the DAG root was a group.  The group dominator
needed to be added to the ordering list, not the first member of the group.

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