[NFC] Fix typos in CallingConvLower.h
authorFraser Cormack <fraser@codeplay.com>
Thu, 4 Mar 2021 10:23:12 +0000 (10:23 +0000)
committerFraser Cormack <fraser@codeplay.com>
Thu, 4 Mar 2021 10:29:14 +0000 (10:29 +0000)
llvm/include/llvm/CodeGen/CallingConvLower.h

index 2fe4e37..5cf523f 100644 (file)
@@ -54,7 +54,7 @@ public:
   };
 
 private:
-  /// ValNo - This is the value number begin assigned (e.g. an argument number).
+  /// ValNo - This is the value number being assigned (e.g. an argument number).
   unsigned ValNo;
 
   /// Loc is either a stack offset or a register number.
@@ -228,7 +228,7 @@ private:
   //
   // Supposed use-case for this collection:
   // 1. Initially ByValRegs is empty, InRegsParamsProcessed is 0.
-  // 2. HandleByVal fillups ByValRegs.
+  // 2. HandleByVal fills up ByValRegs.
   // 3. Argument analysis (LowerFormatArguments, for example). After
   // some byval argument was analyzed, InRegsParamsProcessed is increased.
   struct ByValInfo {
@@ -469,7 +469,7 @@ public:
   // in registers.
   unsigned getInRegsParamsCount() const { return ByValRegs.size(); }
 
-  // Returns count of byval in-regs arguments proceed.
+  // Returns count of byval in-regs arguments processed.
   unsigned getInRegsParamsProcessed() const { return InRegsParamsProcessed; }
 
   // Get information about N-th byval parameter that is stored in registers.