diff options
author | Zhaoshi Zheng <zhaoshiz@coduaurora.org> | 2018-04-04 21:08:11 +0000 |
---|---|---|
committer | Zhaoshi Zheng <zhaoshiz@coduaurora.org> | 2018-04-04 21:08:11 +0000 |
commit | a5531f287a4499586afd3ef2501a71c362eb6cc8 (patch) | |
tree | c6499f07f86cea076996061d9cdb84724407cc6b /llvm/lib/Analysis/MemorySSA.cpp | |
parent | 67d22c8a84d60ef9dd92ea0294fdfbec68093ca5 (diff) | |
download | bcm5719-llvm-a5531f287a4499586afd3ef2501a71c362eb6cc8.tar.gz bcm5719-llvm-a5531f287a4499586afd3ef2501a71c362eb6cc8.zip |
[MemorySSA] Fix spelling errors in MemorySSA.cpp. NFC
llvm-svn: 329230
Diffstat (limited to 'llvm/lib/Analysis/MemorySSA.cpp')
-rw-r--r-- | llvm/lib/Analysis/MemorySSA.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Analysis/MemorySSA.cpp b/llvm/lib/Analysis/MemorySSA.cpp index e1a15e15d41..b5391ed3e0f 100644 --- a/llvm/lib/Analysis/MemorySSA.cpp +++ b/llvm/lib/Analysis/MemorySSA.cpp @@ -1466,7 +1466,7 @@ void MemorySSA::insertIntoListsBefore(MemoryAccess *What, const BasicBlock *BB, auto *Defs = getOrCreateDefsList(BB); // If we got asked to insert at the end, we have an easy job, just shove it // at the end. If we got asked to insert before an existing def, we also get - // an terator. If we got asked to insert before a use, we have to hunt for + // an iterator. If we got asked to insert before a use, we have to hunt for // the next def. if (WasEnd) { Defs->push_back(*What); @@ -1485,7 +1485,7 @@ void MemorySSA::insertIntoListsBefore(MemoryAccess *What, const BasicBlock *BB, BlockNumberingValid.erase(BB); } -// Move What before Where in the IR. The end result is taht What will belong to +// Move What before Where in the IR. The end result is that What will belong to // the right lists and have the right Block set, but will not otherwise be // correct. It will not have the right defining access, and if it is a def, // things below it will not properly be updated. |