mirror of
https://github.com/RPCS3/llvm.git
synced 2025-02-04 01:26:41 +00:00
Fix typos.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@48779 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
27845362d9
commit
cffbd2562a
@ -32,7 +32,7 @@
|
|||||||
#include "llvm/Support/CommandLine.h"
|
#include "llvm/Support/CommandLine.h"
|
||||||
using namespace llvm;
|
using namespace llvm;
|
||||||
|
|
||||||
STATISTIC(NumBacktracks, "Number of times scheduler backtraced");
|
STATISTIC(NumBacktracks, "Number of times scheduler backtracked");
|
||||||
STATISTIC(NumUnfolds, "Number of nodes unfolded");
|
STATISTIC(NumUnfolds, "Number of nodes unfolded");
|
||||||
STATISTIC(NumDups, "Number of duplicated nodes");
|
STATISTIC(NumDups, "Number of duplicated nodes");
|
||||||
STATISTIC(NumCCCopies, "Number of cross class copies");
|
STATISTIC(NumCCCopies, "Number of cross class copies");
|
||||||
@ -348,7 +348,7 @@ static bool isReachable(SUnit *SU, SUnit *TargetSU) {
|
|||||||
return Reached;
|
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.
|
/// create a cycle.
|
||||||
static bool WillCreateCycle(SUnit *SU, SUnit *TargetSU) {
|
static bool WillCreateCycle(SUnit *SU, SUnit *TargetSU) {
|
||||||
if (isReachable(TargetSU, SU))
|
if (isReachable(TargetSU, SU))
|
||||||
@ -755,7 +755,7 @@ void ScheduleDAGRRList::ListScheduleBottomUp() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (!CurSU) {
|
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
|
// "expensive to copy" values to break the dependency. In case even
|
||||||
// that doesn't work, insert cross class copies.
|
// that doesn't work, insert cross class copies.
|
||||||
SUnit *TrySU = NotReady[0];
|
SUnit *TrySU = NotReady[0];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user