Clean up language and grammar.
authorEric Christopher <echristo@gmail.com>
Tue, 20 May 2014 17:11:11 +0000 (17:11 +0000)
committerEric Christopher <echristo@gmail.com>
Tue, 20 May 2014 17:11:11 +0000 (17:11 +0000)
Based on a patch by jfcaron3@gmail.com!
PR19806

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@209216 91177308-0d34-0410-b5e6-96231b3b80d8

docs/DeveloperPolicy.rst
include/llvm/CodeGen/MachineOperand.h
lib/Analysis/CFGPrinter.cpp
lib/CodeGen/ExecutionDepsFix.cpp
lib/CodeGen/SplitKit.h
lib/Support/Windows/DynamicLibrary.inc
lib/Support/regengine.inc
lib/Target/SystemZ/SystemZInstrFormats.td
lib/Transforms/Vectorize/SLPVectorizer.cpp
utils/TableGen/AsmMatcherEmitter.cpp

index b9ac57629e30330d33afb94de8b7e0682a51faa0..74a89791128c6f7c4ee8dbebc51be37a791ce05c 100644 (file)
@@ -336,7 +336,7 @@ Making a Major Change
 ---------------------
 
 When a developer begins a major new project with the aim of contributing it back
-to LLVM, s/he should inform the community with an email to the `llvmdev
+to LLVM, they should inform the community with an email to the `llvmdev
 <http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev>`_ email list, to the extent
 possible. The reason for this is to:
 
index 2eb18c4554e32afff6d64d974a563d402c064c43..22969bc80776e03e0735b1a289afb37befc58605 100644 (file)
@@ -227,7 +227,7 @@ public:
   bool isReg() const { return OpKind == MO_Register; }
   /// isImm - Tests if this is a MO_Immediate operand.
   bool isImm() const { return OpKind == MO_Immediate; }
-  /// isCImm - Test if t his is a MO_CImmediate operand.
+  /// isCImm - Test if this is a MO_CImmediate operand.
   bool isCImm() const { return OpKind == MO_CImmediate; }
   /// isFPImm - Tests if this is a MO_FPImmediate operand.
   bool isFPImm() const { return OpKind == MO_FPImmediate; }
index 6d421ab2361f4b6b9128527e698ab680fef172a3..c2c19d6a69efbd370b0d4d5bfb116a878fed7dcc 100644 (file)
@@ -148,8 +148,8 @@ void Function::viewCFG() const {
 
 /// viewCFGOnly - This function is meant for use from the debugger.  It works
 /// just like viewCFG, but it does not include the contents of basic blocks
-/// into the nodes, just the label.  If you are only interested in the CFG t
-/// his can make the graph smaller.
+/// into the nodes, just the label.  If you are only interested in the CFG
+/// this can make the graph smaller.
 ///
 void Function::viewCFGOnly() const {
   ViewGraph(this, "cfg" + getName(), true);
index 9fa5c1026ea03071884877fd19532b07304ac01a..cf55b68b16f8d969e635309f5c6c689641e605cc 100644 (file)
@@ -405,7 +405,7 @@ void ExeDepsFix::enterBasicBlock(MachineBasicBlock *MBB) {
 
       // We have a live DomainValue from more than one predecessor.
       if (LiveRegs[rx].Value->isCollapsed()) {
-        // We are already collapsed, but predecessor is not. Force him.
+        // We are already collapsed, but predecessor is not. Force it.
         unsigned Domain = LiveRegs[rx].Value->getFirstDomain();
         if (!pdv->isCollapsed() && pdv->hasDomain(Domain))
           collapse(pdv, Domain);
index 08bcf35350d9dc02e3f8ce41fbbe26411671ec7f..7048ee37631bc29b20572e7583aa154147e6154b 100644 (file)
@@ -377,7 +377,7 @@ public:
   SlotIndex enterIntvAfter(SlotIndex Idx);
 
   /// enterIntvAtEnd - Enter the open interval at the end of MBB.
-  /// Use the open interval from he inserted copy to the MBB end.
+  /// Use the open interval from the inserted copy to the MBB end.
   /// Return the beginning of the new live range.
   SlotIndex enterIntvAtEnd(MachineBasicBlock &MBB);
 
index 504471eaff35bd095f9f59e46f8a00ccc2ea8827..5d0278fe3c3038e233112106d15da88ff58d0082 100644 (file)
@@ -58,7 +58,7 @@ extern "C" {
         stricmp(ModuleName, "msvcr70") != 0 &&
 #ifndef __MINGW32__
         // Mingw32 uses msvcrt.dll by default. Don't ignore it.
-        // Otherwise, user should be aware, what he's doing :)
+        // Otherwise the user should be aware what they are doing.
         stricmp(ModuleName, "msvcrt") != 0 &&
 #endif
         stricmp(ModuleName, "msvcrt20") != 0 &&
index 7e41f96f359df184462f943277e74791d0660ef6..62d8c267f22f7843c4257a632dab3f7cdc7c1ba4 100644 (file)
@@ -205,7 +205,7 @@ matcher(struct re_guts *g, const char *string, size_t nmatch,
                if (nmatch == 1 && !g->backrefs)
                        break;          /* no further info needed */
 
-               /* oh my, he wants the subexpressions... */
+               /* oh my, they want the subexpressions... */
                if (m->pmatch == NULL)
                        m->pmatch = (llvm_regmatch_t *)malloc((m->g->nsub + 1) *
                                                        sizeof(llvm_regmatch_t));
index 50badf82bc70b46ebe4657c4c6daae4b1d266696..add675a22ccccb506a76bcf51a9c1a8b09b8db9c 100644 (file)
@@ -516,7 +516,7 @@ class InstSS<bits<8> op, dag outs, dag ins, string asmstr, list<dag> pattern>
 //
 //   Binary:
 //     One register output operand and two input operands.  The first
-//     input operand is always a register and he second may be a register,
+//     input operand is always a register and the second may be a register,
 //     immediate or memory.
 //
 //   Shift:
index 12dd7b5d32001474b06649787cfb53360cf2df46..e13ba956c398eb9f14490ca256ee90850cfd9a10 100644 (file)
@@ -1918,7 +1918,7 @@ struct SLPVectorizer : public FunctionPass {
     DEBUG(dbgs() << "SLP: Analyzing blocks in " << F.getName() << ".\n");
 
     // Use the bottom up slp vectorizer to construct chains that start with
-    // he store instructions.
+    // store instructions.
     BoUpSLP R(&F, SE, DL, TTI, TLI, AA, LI, DT);
 
     // Scan the blocks in the function in post order.
index 43c2b1a1c1dbbfa98f94002199ecaa2b9f18b0cc..bb32cf427ee898d29e90a624936644803f47fb0c 100644 (file)
@@ -193,10 +193,10 @@ struct ClassInfo {
   /// parsing on the operand.
   std::string ParserMethod;
 
-  /// For register classes, the records for all the registers in this class.
+  /// For register classes: the records for all the registers in this class.
   RegisterSet Registers;
 
-  /// For custom match classeshe diagnostic kind for when the predicate fails.
+  /// For custom match classes: the diagnostic kind for when the predicate fails.
   std::string DiagnosticType;
 public:
   /// isRegisterClass() - Check if this is a register class.