Tweak spelling.
authorAndrew Trick <atrick@apple.com>
Sat, 7 Jul 2012 03:59:48 +0000 (03:59 +0000)
committerAndrew Trick <atrick@apple.com>
Sat, 7 Jul 2012 03:59:48 +0000 (03:59 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@159889 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/MC/MCSubtargetInfo.h
lib/MC/MCSubtargetInfo.cpp
utils/TableGen/SubtargetEmitter.cpp

index 3b53f205cd55454b06afdde89a2e8bc63cd966f8..82730d469e0dcbbdc19496226159f927e6f9038a 100644 (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
index cb56a54064402a702c5c33ccadfd0b3f39127861..318e5a3da2ae60bc9122bae1d9ac4e04dd1e2278 100644 (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);
 }
index 8089908c1fe44736640c8dda77abcfd40e203de1..1c37d15fe882cb24a6aaa93e84ce234617bf6f63 100644 (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";