[llvm] r208137 - Update an embarassing out-of-date comment.

Andrew Trick atrick at apple.com
Tue May 6 15:18:43 PDT 2014


Author: atrick
Date: Tue May  6 17:18:43 2014
New Revision: 208137

URL: http://llvm.org/viewvc/llvm-project?rev=208137&view=rev
Log:
Update an embarassing out-of-date comment.

Modified:
    llvm/trunk/lib/Target/TargetSubtargetInfo.cpp

Modified: llvm/trunk/lib/Target/TargetSubtargetInfo.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/TargetSubtargetInfo.cpp?rev=208137&r1=208136&r2=208137&view=diff
==============================================================================
--- llvm/trunk/lib/Target/TargetSubtargetInfo.cpp (original)
+++ llvm/trunk/lib/Target/TargetSubtargetInfo.cpp Tue May  6 17:18:43 2014
@@ -24,11 +24,12 @@ TargetSubtargetInfo::TargetSubtargetInfo
 TargetSubtargetInfo::~TargetSubtargetInfo() {}
 
 // Temporary option to compare overall performance change when moving from the
-// SD scheduler to the MachineScheduler pass pipeline. It should be removed
-// before 3.4. The normal way to enable/disable the MachineScheduling pass
-// itself is by using -enable-misched. For targets that already use MI sched
-// (via MySubTarget::enableMachineScheduler()) -misched-bench=false negates the
-// subtarget hook.
+// SD scheduler to the MachineScheduler pass pipeline. This is convenient for
+// benchmarking during the transition from SD to MI scheduling. Once armv7 makes
+// the switch, it should go away. The normal way to enable/disable the
+// MachineScheduling pass itself is by using -enable-misched. For targets that
+// already use MI sched (via MySubTarget::enableMachineScheduler())
+// -misched-bench=false negates the subtarget hook.
 static cl::opt<bool> BenchMachineSched("misched-bench", cl::Hidden,
     cl::desc("Migrate from the target's default SD scheduler to MI scheduler"));
 





More information about the llvm-commits mailing list