Add capability to scheduler to commute nodes for profit.
authorEvan Cheng <evan.cheng@apple.com>
Fri, 12 May 2006 01:58:24 +0000 (01:58 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Fri, 12 May 2006 01:58:24 +0000 (01:58 +0000)
commit13d41b9d721f98372b97d2ec119e6c91932ab0ae
treeb6068fb8e9346f9e69de380ca3ce9bc4f5e0a8a4
parent31ff1ff348bce63f5d802530c5a99f6a4d6db104
Add capability to scheduler to commute nodes for profit.
If a two-address code whose first operand has uses below, it should be commuted
when possible.

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