Tweak spelling.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@159889 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Andrew Trick 2012-07-07 03:59:48 +00:00
parent 2d4215f759
commit a11a6287a5
3 changed files with 7 additions and 7 deletions

View File

@ -33,7 +33,7 @@ class MCSubtargetInfo {
const SubtargetInfoKV *ProcItins; // Scheduling itineraries
const InstrStage *Stages; // Instruction stages
const unsigned *OperandCycles; // Operand cycles
const unsigned *ForwardingPathes; // Forwarding pathes
const unsigned *ForwardingPaths; // Forwarding paths
unsigned NumFeatures; // Number of processor features
unsigned NumProcs; // Number of processors
uint64_t FeatureBits; // Feature bits for current CPU + FS

View File

@ -32,7 +32,7 @@ MCSubtargetInfo::InitMCSubtargetInfo(StringRef TT, StringRef CPU, StringRef FS,
ProcItins = PI;
Stages = IS;
OperandCycles = OC;
ForwardingPathes = FP;
ForwardingPaths = FP;
NumFeatures = NF;
NumProcs = NP;
@ -93,6 +93,6 @@ MCSubtargetInfo::getInstrItineraryForCPU(StringRef CPU) const {
InstrItinerarySubtargetValue *V =
(InstrItinerarySubtargetValue *)Found->Value;
return InstrItineraryData(V->Props, Stages, OperandCycles, ForwardingPathes,
return InstrItineraryData(V->Props, Stages, OperandCycles, ForwardingPaths,
V->Itineraries);
}

View File

@ -410,7 +410,7 @@ void SubtargetEmitter::EmitStageAndOperandCycleData(raw_ostream &OS,
// Begin pipeline bypass table
std::string BypassTable = "extern const unsigned " + Target +
"ForwardingPathes[] = {\n";
"ForwardingPaths[] = {\n";
BypassTable += " 0, // No itinerary\n";
unsigned StageCount = 1, OperandCycleCount = 1;
@ -780,7 +780,7 @@ void SubtargetEmitter::run(raw_ostream &OS) {
OS << Target << "ProcItinKV, "
<< Target << "Stages, "
<< Target << "OperandCycles, "
<< Target << "ForwardingPathes, ";
<< Target << "ForwardingPaths, ";
} else
OS << "0, 0, 0, 0, ";
OS << NumFeatures << ", " << NumProcs << ");\n}\n\n";
@ -826,7 +826,7 @@ void SubtargetEmitter::run(raw_ostream &OS) {
OS << "extern const llvm::SubtargetInfoKV " << Target << "ProcItinKV[];\n";
OS << "extern const llvm::InstrStage " << Target << "Stages[];\n";
OS << "extern const unsigned " << Target << "OperandCycles[];\n";
OS << "extern const unsigned " << Target << "ForwardingPathes[];\n";
OS << "extern const unsigned " << Target << "ForwardingPaths[];\n";
}
OS << ClassName << "::" << ClassName << "(StringRef TT, StringRef CPU, "
@ -845,7 +845,7 @@ void SubtargetEmitter::run(raw_ostream &OS) {
OS << Target << "ProcItinKV, "
<< Target << "Stages, "
<< Target << "OperandCycles, "
<< Target << "ForwardingPathes, ";
<< Target << "ForwardingPaths, ";
} else
OS << "0, 0, 0, 0, ";
OS << NumFeatures << ", " << NumProcs << ");\n}\n\n";