[llvm] c907681 - [NFC] Fix typos in CallingConvLower.h

Fraser Cormack via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 4 02:36:00 PST 2021


Author: Fraser Cormack
Date: 2021-03-04T10:29:14Z
New Revision: c907681b077c6acf95c3ddca6611639c29559e40

URL: https://github.com/llvm/llvm-project/commit/c907681b077c6acf95c3ddca6611639c29559e40
DIFF: https://github.com/llvm/llvm-project/commit/c907681b077c6acf95c3ddca6611639c29559e40.diff

LOG: [NFC] Fix typos in CallingConvLower.h

Added: 
    

Modified: 
    llvm/include/llvm/CodeGen/CallingConvLower.h

Removed: 
    


################################################################################
diff  --git a/llvm/include/llvm/CodeGen/CallingConvLower.h b/llvm/include/llvm/CodeGen/CallingConvLower.h
index 2fe4e371263b..5cf523f394b0 100644
--- a/llvm/include/llvm/CodeGen/CallingConvLower.h
+++ b/llvm/include/llvm/CodeGen/CallingConvLower.h
@@ -54,7 +54,7 @@ class CCValAssign {
   };
 
 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 @@ class CCState {
   //
   // 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 @@ class CCState {
   // 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.


        


More information about the llvm-commits mailing list