summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen
diff options
context:
space:
mode:
authorTim Northover <tnorthover@apple.com>2016-11-09 22:40:02 +0000
committerTim Northover <tnorthover@apple.com>2016-11-09 22:40:02 +0000
commit09dd2496b727341fd544281e43f668aefcbec68d (patch)
treec45c341edfe94554c14e4486961a19ed18e6d17b /llvm/lib/CodeGen
parenta9105be437546b3f5398781006c1479c9cfecba8 (diff)
downloadbcm5719-llvm-09dd2496b727341fd544281e43f668aefcbec68d.tar.gz
bcm5719-llvm-09dd2496b727341fd544281e43f668aefcbec68d.zip
GlobalISel: fix typo. NFC
llvm-svn: 286408
Diffstat (limited to 'llvm/lib/CodeGen')
-rw-r--r--llvm/lib/CodeGen/GlobalISel/RegisterBankInfo.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/GlobalISel/RegisterBankInfo.cpp b/llvm/lib/CodeGen/GlobalISel/RegisterBankInfo.cpp
index 409c756974d..3070a2e6749 100644
--- a/llvm/lib/CodeGen/GlobalISel/RegisterBankInfo.cpp
+++ b/llvm/lib/CodeGen/GlobalISel/RegisterBankInfo.cpp
@@ -523,7 +523,7 @@ void RegisterBankInfo::PartialMapping::print(raw_ostream &OS) const {
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::verify(unsigned MeaningFulBitWidth) const {
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) {
OpenPOWER on IntegriCloud