[NFC] Fix typo in comment.
authorThan McIntosh <thanm@google.com>
Thu, 5 Nov 2020 14:09:44 +0000 (09:09 -0500)
committerThan McIntosh <thanm@google.com>
Fri, 6 Nov 2020 14:03:07 +0000 (09:03 -0500)
Differential Revision: https://reviews.llvm.org/D90846

llvm/lib/CodeGen/StackColoring.cpp

index 2b3715d..af58204 100644 (file)
@@ -1287,7 +1287,7 @@ bool StackColoring::runOnMachineFunction(MachineFunction &Func) {
 
   // This is a simple greedy algorithm for merging allocas. First, sort the
   // slots, placing the largest slots first. Next, perform an n^2 scan and look
-  // for disjoint slots. When you find disjoint slots, merge the samller one
+  // for disjoint slots. When you find disjoint slots, merge the smaller one
   // into the bigger one and update the live interval. Remove the small alloca
   // and continue.