[PATCH] D37922: [llvm] Fix some typos. NFC.

Mandeep Singh Grang via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 15 13:03:21 PDT 2017


This revision was automatically updated to reflect the committed changes.
Closed by commit rL313388: [llvm] Fix some typos. NFC. (authored by mgrang).

Changed prior to commit:
  https://reviews.llvm.org/D37922?vs=115464&id=115467#toc

Repository:
  rL LLVM

https://reviews.llvm.org/D37922

Files:
  llvm/trunk/lib/Bitcode/Writer/BitcodeWriter.cpp
  llvm/trunk/lib/MC/MCAsmStreamer.cpp
  llvm/trunk/lib/MC/MCFragment.cpp
  llvm/trunk/lib/Target/Hexagon/HexagonHardwareLoops.cpp


Index: llvm/trunk/lib/MC/MCFragment.cpp
===================================================================
--- llvm/trunk/lib/MC/MCFragment.cpp
+++ llvm/trunk/lib/MC/MCFragment.cpp
@@ -80,7 +80,7 @@
   return F->Offset;
 }
 
-// Simple getSymbolOffset helper for the non-varibale case.
+// Simple getSymbolOffset helper for the non-variable case.
 static bool getLabelOffset(const MCAsmLayout &Layout, const MCSymbol &S,
                            bool ReportError, uint64_t &Val) {
   if (!S.getFragment()) {
Index: llvm/trunk/lib/MC/MCAsmStreamer.cpp
===================================================================
--- llvm/trunk/lib/MC/MCAsmStreamer.cpp
+++ llvm/trunk/lib/MC/MCAsmStreamer.cpp
@@ -1609,8 +1609,8 @@
     }
   }
   OS << "]";
-  // If we are not going to add fixup or schedul comments after this point then
-  // we have to end the current comment line with "\n".
+  // If we are not going to add fixup or schedule comments after this point
+  // then we have to end the current comment line with "\n".
   if (Fixups.size() || !PrintSchedInfo)
     OS << "\n";
 
Index: llvm/trunk/lib/Target/Hexagon/HexagonHardwareLoops.cpp
===================================================================
--- llvm/trunk/lib/Target/Hexagon/HexagonHardwareLoops.cpp
+++ llvm/trunk/lib/Target/Hexagon/HexagonHardwareLoops.cpp
@@ -278,7 +278,7 @@
     /// value, either directly, or via a register.
     void setImmediate(MachineOperand &MO, int64_t Val);
 
-    /// \brief Fix the data flow of the induction varible.
+    /// \brief Fix the data flow of the induction variable.
     /// The desired flow is: phi ---> bump -+-> comparison-in-latch.
     ///                                     |
     ///                                     +-> back to phi
Index: llvm/trunk/lib/Bitcode/Writer/BitcodeWriter.cpp
===================================================================
--- llvm/trunk/lib/Bitcode/Writer/BitcodeWriter.cpp
+++ llvm/trunk/lib/Bitcode/Writer/BitcodeWriter.cpp
@@ -3676,7 +3676,7 @@
         // 2) There is a static variable with the  OriginalGUID identical
         // to the GUID of the library function in 1);
         // When this happens, the logic for SamplePGO kicks in and
-        // the static varible in 2) will be found, which needs to be
+        // the static variable in 2) will be found, which needs to be
         // filtered out.
         auto *GVSum = Index.getGlobalValueSummary(GUID, false);
         if (GVSum &&


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D37922.115467.patch
Type: text/x-patch
Size: 2467 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170915/5ceffd35/attachment.bin>


More information about the llvm-commits mailing list