If a node that defines a physical register that is expensive to copy. The
authorEvan Cheng <evan.cheng@apple.com>
Fri, 5 Oct 2007 01:39:18 +0000 (01:39 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Fri, 5 Oct 2007 01:39:18 +0000 (01:39 +0000)
commitf10c973797cf79da802f9b0118543cbd50954c9c
treead47bfcd0672c2fac7edc518934a5be5c1bc762d
parent75b4e46b8a39cac5bcec1365bb25f395611d0be2
If a node that defines a physical register that is expensive to copy. The
scheduler will try a number of tricks in order to avoid generating the
copies. This may not be possible in case the node produces a chain value
that prevent movement. Try unfolding the load from the node before to allow
it to be moved / cloned.

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