Let's try ignoring resource utilization on the backward pass.
llvm-svn: 24231
diff --git a/llvm/lib/CodeGen/SelectionDAG/ScheduleDAG.cpp b/llvm/lib/CodeGen/SelectionDAG/ScheduleDAG.cpp
index 1666f43..9a5e189 100644
--- a/llvm/lib/CodeGen/SelectionDAG/ScheduleDAG.cpp
+++ b/llvm/lib/CodeGen/SelectionDAG/ScheduleDAG.cpp
@@ -908,9 +908,11 @@
// If independent of others (or first entry)
if (Slot == NotFound) Slot = 0;
+#if 0 // FIXME - measure later
// Find a slot where the needed resources are available
if (NI->StageBegin != NI->StageEnd)
Slot = Tally.FindAndReserve(Slot, NI->StageBegin, NI->StageEnd);
+#endif
// Set node slot
NI->Slot = Slot;