OSDN Git Service

If two instructions are both two-address code, favors (schedule closer to
authorEvan Cheng <evan.cheng@apple.com>
Fri, 28 Sep 2007 22:32:30 +0000 (22:32 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Fri, 28 Sep 2007 22:32:30 +0000 (22:32 +0000)
commit22a529990bb4bb86bdb2ae1cfce7340320a6ca7f
tree4b90d4a3ce6d71c913551eaf37ea87e466da2dc5
parent6745458195d6a70381cf84cb4da0bfe2356351a6
If two instructions are both two-address code, favors (schedule closer to
terminator) the one that has a CopyToReg use. This fixes
2006-05-11-InstrSched.ll with -new-cc-modeling-scheme.

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