summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/SelectionDAG
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2008-03-25 17:10:29 +0000
committerDan Gohman <gohman@apple.com>2008-03-25 17:10:29 +0000
commitfd227e9c3a00b8e6358f6c80e62ab26181aca0f5 (patch)
treecbead6bbaa0784c6632c23cd792c78a555fdbb2c /llvm/lib/CodeGen/SelectionDAG
parent883cbfd0ba5fc1ccd9876d5637896942ee278854 (diff)
downloadbcm5719-llvm-fd227e9c3a00b8e6358f6c80e62ab26181aca0f5.tar.gz
bcm5719-llvm-fd227e9c3a00b8e6358f6c80e62ab26181aca0f5.zip
Fix typos.
llvm-svn: 48779
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG')
-rw-r--r--llvm/lib/CodeGen/SelectionDAG/ScheduleDAGRRList.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/ScheduleDAGRRList.cpp b/llvm/lib/CodeGen/SelectionDAG/ScheduleDAGRRList.cpp
index 0d3926f03c9..5668373a1d1 100644
--- a/llvm/lib/CodeGen/SelectionDAG/ScheduleDAGRRList.cpp
+++ b/llvm/lib/CodeGen/SelectionDAG/ScheduleDAGRRList.cpp
@@ -32,7 +32,7 @@
#include "llvm/Support/CommandLine.h"
using namespace llvm;
-STATISTIC(NumBacktracks, "Number of times scheduler backtraced");
+STATISTIC(NumBacktracks, "Number of times scheduler backtracked");
STATISTIC(NumUnfolds, "Number of nodes unfolded");
STATISTIC(NumDups, "Number of duplicated nodes");
STATISTIC(NumCCCopies, "Number of cross class copies");
@@ -348,7 +348,7 @@ static bool isReachable(SUnit *SU, SUnit *TargetSU) {
return Reached;
}
-/// willCreateCycle - Returns true if adding an edge from SU to TargetSU will
+/// WillCreateCycle - Returns true if adding an edge from SU to TargetSU will
/// create a cycle.
static bool WillCreateCycle(SUnit *SU, SUnit *TargetSU) {
if (isReachable(TargetSU, SU))
@@ -755,7 +755,7 @@ void ScheduleDAGRRList::ListScheduleBottomUp() {
}
if (!CurSU) {
- // Can't backtrace. Try duplicating the nodes that produces these
+ // Can't backtrack. Try duplicating the nodes that produces these
// "expensive to copy" values to break the dependency. In case even
// that doesn't work, insert cross class copies.
SUnit *TrySU = NotReady[0];
OpenPOWER on IntegriCloud