]> granicus.if.org Git - llvm/commitdiff
Fix a couple of comments, NFC
authorKrzysztof Parzyszek <kparzysz@codeaurora.org>
Tue, 12 Sep 2017 14:10:48 +0000 (14:10 +0000)
committerKrzysztof Parzyszek <kparzysz@codeaurora.org>
Tue, 12 Sep 2017 14:10:48 +0000 (14:10 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@313030 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Target/TargetRegisterInfo.h

index b6839dad106f13c55f468c07a83cdb45add67164..ea1c716a91618817a59be5c9f4d5475d4a691aa7 100644 (file)
@@ -315,8 +315,8 @@ public:
     return RC.SpillSize;
   }
 
-  /// Return the minimum required alignment for a spill slot for a register
-  /// of this class.
+  /// Return the minimum required alignment in bytes for a spill slot for
+  /// a register of this class.
   unsigned getSpillAlignment(const TargetRegisterClass &RC) const {
     return RC.SpillAlignment;
   }
@@ -330,7 +330,7 @@ public:
   }
 
   /// Loop over all of the value types that can be represented by values
-  // in the given register class.
+  /// in the given register class.
   vt_iterator legalclasstypes_begin(const TargetRegisterClass &RC) const {
     return RC.VTs;
   }