[llvm] r313030 - Fix a couple of comments, NFC
Krzysztof Parzyszek via llvm-commits
llvm-commits at lists.llvm.org
Tue Sep 12 07:10:49 PDT 2017
Author: kparzysz
Date: Tue Sep 12 07:10:48 2017
New Revision: 313030
URL: http://llvm.org/viewvc/llvm-project?rev=313030&view=rev
Log:
Fix a couple of comments, NFC
Modified:
llvm/trunk/include/llvm/Target/TargetRegisterInfo.h
Modified: llvm/trunk/include/llvm/Target/TargetRegisterInfo.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Target/TargetRegisterInfo.h?rev=313030&r1=313029&r2=313030&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Target/TargetRegisterInfo.h (original)
+++ llvm/trunk/include/llvm/Target/TargetRegisterInfo.h Tue Sep 12 07:10:48 2017
@@ -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;
}
More information about the llvm-commits
mailing list