[llvm] r286408 - GlobalISel: fix typo. NFC
Tim Northover via llvm-commits
llvm-commits at lists.llvm.org
Wed Nov 9 14:40:02 PST 2016
Author: tnorthover
Date: Wed Nov 9 16:40:02 2016
New Revision: 286408
URL: http://llvm.org/viewvc/llvm-project?rev=286408&view=rev
Log:
GlobalISel: fix typo. NFC
Modified:
llvm/trunk/include/llvm/CodeGen/GlobalISel/RegisterBankInfo.h
llvm/trunk/lib/CodeGen/GlobalISel/RegisterBankInfo.cpp
Modified: llvm/trunk/include/llvm/CodeGen/GlobalISel/RegisterBankInfo.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/CodeGen/GlobalISel/RegisterBankInfo.h?rev=286408&r1=286407&r2=286408&view=diff
==============================================================================
--- llvm/trunk/include/llvm/CodeGen/GlobalISel/RegisterBankInfo.h (original)
+++ llvm/trunk/include/llvm/CodeGen/GlobalISel/RegisterBankInfo.h Wed Nov 9 16:40:02 2016
@@ -161,11 +161,11 @@ public:
bool isValid() const { return BreakDown && NumBreakDowns; }
/// Verify that this mapping makes sense for a value of
- /// \p MeaningFulBitWidth.
+ /// \p MeaningfulBitWidth.
/// \note This method does not check anything when assertions are disabled.
///
/// \return True is the check was successful.
- bool verify(unsigned MeaningFulBitWidth) const;
+ bool verify(unsigned MeaningfulBitWidth) const;
/// Print this on dbgs() stream.
void dump() const;
Modified: llvm/trunk/lib/CodeGen/GlobalISel/RegisterBankInfo.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/GlobalISel/RegisterBankInfo.cpp?rev=286408&r1=286407&r2=286408&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/GlobalISel/RegisterBankInfo.cpp (original)
+++ llvm/trunk/lib/CodeGen/GlobalISel/RegisterBankInfo.cpp Wed Nov 9 16:40:02 2016
@@ -523,7 +523,7 @@ void RegisterBankInfo::PartialMapping::p
OS << "nullptr";
}
-bool RegisterBankInfo::ValueMapping::verify(unsigned MeaningFulBitWidth) const {
+bool RegisterBankInfo::ValueMapping::verify(unsigned MeaningfulBitWidth) const {
assert(NumBreakDowns && "Value mapped nowhere?!");
unsigned OrigValueBitWidth = 0;
for (const RegisterBankInfo::PartialMapping &PartMap : *this) {
@@ -535,7 +535,7 @@ bool RegisterBankInfo::ValueMapping::ver
OrigValueBitWidth =
std::max(OrigValueBitWidth, PartMap.getHighBitIdx() + 1);
}
- assert(OrigValueBitWidth >= MeaningFulBitWidth &&
+ assert(OrigValueBitWidth >= MeaningfulBitWidth &&
"Meaningful bits not covered by the mapping");
APInt ValueMask(OrigValueBitWidth, 0);
for (const RegisterBankInfo::PartialMapping &PartMap : *this) {
More information about the llvm-commits
mailing list