[llvm] r329230 - [MemorySSA] Fix spelling errors in MemorySSA.cpp. NFC

Zhaoshi Zheng via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 4 14:08:11 PDT 2018


Author: zzheng
Date: Wed Apr  4 14:08:11 2018
New Revision: 329230

URL: http://llvm.org/viewvc/llvm-project?rev=329230&view=rev
Log:
[MemorySSA] Fix spelling errors in MemorySSA.cpp. NFC

Modified:
    llvm/trunk/lib/Analysis/MemorySSA.cpp

Modified: llvm/trunk/lib/Analysis/MemorySSA.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Analysis/MemorySSA.cpp?rev=329230&r1=329229&r2=329230&view=diff
==============================================================================
--- llvm/trunk/lib/Analysis/MemorySSA.cpp (original)
+++ llvm/trunk/lib/Analysis/MemorySSA.cpp Wed Apr  4 14:08:11 2018
@@ -1466,7 +1466,7 @@ void MemorySSA::insertIntoListsBefore(Me
     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(Me
   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.




More information about the llvm-commits mailing list