misched: add DAG edges from vreg defs to ExitSU.
authorAndrew Trick <atrick@apple.com>
Fri, 16 Mar 2012 05:04:25 +0000 (05:04 +0000)
committerAndrew Trick <atrick@apple.com>
Fri, 16 Mar 2012 05:04:25 +0000 (05:04 +0000)
commitd3a7486ef351697450cfe87b6cce82a3eb906874
tree5237cf0a4c61b1850af47d66a768a337ec477e39
parent75ae20366fd1b480f4cc38400bb075c43c9f4f7f
misched: add DAG edges from vreg defs to ExitSU.

These edges are not really necessary, but it is consistent with the
way we currently create physreg edges. Scheduler heuristics that
expect a DAG edge to the block terminator could benefit from this
change. Although in the future I hope we have a better mechanism for
modeling latency across scheduling regions.

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