From: Krzysztof Parzyszek Date: Tue, 12 Sep 2017 14:10:48 +0000 (+0000) Subject: Fix a couple of comments, NFC X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=863506ba40639b31ad7626deb1899881f8857d08;p=llvm Fix a couple of comments, NFC git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@313030 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/Target/TargetRegisterInfo.h b/include/llvm/Target/TargetRegisterInfo.h index b6839dad106..ea1c716a916 100644 --- a/include/llvm/Target/TargetRegisterInfo.h +++ b/include/llvm/Target/TargetRegisterInfo.h @@ -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; }