summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2006-01-23 08:26:10 +0000
committerEvan Cheng <evan.cheng@apple.com>2006-01-23 08:26:10 +0000
commit31272347d468c1ebb96166df7909e8f812e0b73c (patch)
tree6297fbbeca9a95d9731a674334360107329ff2c9 /llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
parent421cfe8006283d55b75e0204ac95bcb845f5793c (diff)
downloadbcm5719-llvm-31272347d468c1ebb96166df7909e8f812e0b73c.tar.gz
bcm5719-llvm-31272347d468c1ebb96166df7909e8f812e0b73c.zip
Skeleton of the list schedule.
llvm-svn: 25544
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp')
-rw-r--r--llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
index aa410bd0a6b..6cc4d436e90 100644
--- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
+++ b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
@@ -69,6 +69,8 @@ namespace {
clEnumValN(simpleNoItinScheduling, "simple-noitin",
"Simple two pass scheduling: Same as simple "
"except using generic latency"),
+ clEnumValN(listSchedulingBURR, "list-BURR",
+ "Bottom up register reduction list scheduling"),
clEnumValEnd));
} // namespace
@@ -1775,6 +1777,8 @@ void SelectionDAGISel::ScheduleAndEmitDAG(SelectionDAG &DAG) {
case simpleNoItinScheduling:
SL = createSimpleDAGScheduler(ISHeuristic, DAG, BB);
break;
+ case listSchedulingBURR:
+ SL = createBURRListDAGScheduler(DAG, BB);
}
BB = SL->Run();
}
OpenPOWER on IntegriCloud