Bläddra i källkod

Fix some user facing typos

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@327776 91177308-0d34-0410-b5e6-96231b3b80d8
Sylvestre Ledru 7 år sedan
förälder
incheckning
b3fc341d67
2 ändrade filer med 3 tillägg och 3 borttagningar
  1. 2 2
      utils/TableGen/SubtargetEmitter.cpp
  2. 1 1
      utils/extract_symbols.py

+ 2 - 2
utils/TableGen/SubtargetEmitter.cpp

@@ -372,7 +372,7 @@ EmitStageAndOperandCycleData(raw_ostream &OS,
 
     std::vector<Record*> BPs = ProcModel.ItinsDef->getValueAsListOfDefs("BP");
     if (!BPs.empty()) {
-      OS << "\n// Pipeline forwarding pathes for itineraries \"" << Name
+      OS << "\n// Pipeline forwarding paths for itineraries \"" << Name
          << "\"\n" << "namespace " << Name << "Bypass {\n";
 
       OS << "  const unsigned NoBypass = 0;\n";
@@ -865,7 +865,7 @@ void SubtargetEmitter::GenSchedClassTables(const CodeGenProcModel &ProcModel,
     IdxVec Writes = SC.Writes;
     IdxVec Reads = SC.Reads;
     if (!SC.InstRWs.empty()) {
-      // This class has a default ReadWrite list which can be overriden by
+      // This class has a default ReadWrite list which can be overridden by
       // InstRW definitions.
       Record *RWDef = nullptr;
       for (Record *RW : SC.InstRWs) {

+ 1 - 1
utils/extract_symbols.py

@@ -380,7 +380,7 @@ if __name__ == '__main__':
         print("Couldn't find a program to read symbols with", file=sys.stderr)
         exit(1)
     if not is_32bit_windows:
-        print("Couldn't find a program to determing the target", file=sys.stderr)
+        print("Couldn't find a program to determining the target", file=sys.stderr)
         exit(1)
 
     # How we determine which symbols to keep and which to discard depends on