When a node value is only used by a CopyToReg, use the user's dest. This should not...
authorEvan Cheng <evan.cheng@apple.com>
Tue, 10 Jul 2007 07:08:32 +0000 (07:08 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Tue, 10 Jul 2007 07:08:32 +0000 (07:08 +0000)
commitaf825c840ebc4ca5248c62325b2371091c9fb4b4
tree362a60e1e01a25f96605b76f2e803fa4180fb686
parentc63d391c9a886d58c6a53a7f565fbd544b076d9f
When a node value is only used by a CopyToReg, use the user's dest. This should not be restricted to nodes that produce only a single value.

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