[llvm] r178822 - Disable DFSResult for ConvergingScheduler.

Andrew Trick atrick at apple.com
Thu Apr 4 17:31:31 PDT 2013


Author: atrick
Date: Thu Apr  4 19:31:31 2013
New Revision: 178822

URL: http://llvm.org/viewvc/llvm-project?rev=178822&view=rev
Log:
Disable DFSResult for ConvergingScheduler.

For now, just save the compile time since the ConvergingScheduler
heuristics don't use this analysis. We'll probably enable it later
after compile-time investigation.

Modified:
    llvm/trunk/lib/CodeGen/MachineScheduler.cpp

Modified: llvm/trunk/lib/CodeGen/MachineScheduler.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/MachineScheduler.cpp?rev=178822&r1=178821&r2=178822&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/MachineScheduler.cpp (original)
+++ llvm/trunk/lib/CodeGen/MachineScheduler.cpp Thu Apr  4 19:31:31 2013
@@ -1243,8 +1243,6 @@ void ConvergingScheduler::initialize(Sch
   Top.init(DAG, SchedModel, &Rem);
   Bot.init(DAG, SchedModel, &Rem);
 
-  DAG->computeDFSResult();
-
   // Initialize resource counts.
 
   // Initialize the HazardRecognizers. If itineraries don't exist, are empty, or





More information about the llvm-commits mailing list