aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Target/TargetSubtargetInfo.cpp
diff options
context:
space:
mode:
authorAndrew Trick <atrick@apple.com>2014-05-06 22:18:43 +0000
committerAndrew Trick <atrick@apple.com>2014-05-06 22:18:43 +0000
commitd0d8cb1d21f489d22e48fc85b66d1848f7938188 (patch)
treea1c7298e22e093c68ad821d7a5362cc720df9f18 /llvm/lib/Target/TargetSubtargetInfo.cpp
parentcfc57bb6e37ba0234c78df78ad3d0f6650cebf49 (diff)
downloadllvm-d0d8cb1d21f489d22e48fc85b66d1848f7938188.zip
llvm-d0d8cb1d21f489d22e48fc85b66d1848f7938188.tar.gz
llvm-d0d8cb1d21f489d22e48fc85b66d1848f7938188.tar.bz2
Update an embarassing out-of-date comment.
llvm-svn: 208137
Diffstat (limited to 'llvm/lib/Target/TargetSubtargetInfo.cpp')
-rw-r--r--llvm/lib/Target/TargetSubtargetInfo.cpp11
1 files changed, 6 insertions, 5 deletions
diff --git a/llvm/lib/Target/TargetSubtargetInfo.cpp b/llvm/lib/Target/TargetSubtargetInfo.cpp
index df8948f..3ca13da 100644
--- a/llvm/lib/Target/TargetSubtargetInfo.cpp
+++ b/llvm/lib/Target/TargetSubtargetInfo.cpp
@@ -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"));