[llvm] b3d0f02 - [NFC] Fix typo in comment.

Than McIntosh via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 6 06:04:11 PST 2020


Author: Than McIntosh
Date: 2020-11-06T09:03:07-05:00
New Revision: b3d0f0286145dda3d3c75b4d91a9c674776376c1

URL: https://github.com/llvm/llvm-project/commit/b3d0f0286145dda3d3c75b4d91a9c674776376c1
DIFF: https://github.com/llvm/llvm-project/commit/b3d0f0286145dda3d3c75b4d91a9c674776376c1.diff

LOG: [NFC] Fix typo in comment.

Differential Revision: https://reviews.llvm.org/D90846

Added: 
    

Modified: 
    llvm/lib/CodeGen/StackColoring.cpp

Removed: 
    


################################################################################
diff  --git a/llvm/lib/CodeGen/StackColoring.cpp b/llvm/lib/CodeGen/StackColoring.cpp
index 2b3715d02e9b..af58204f6db5 100644
--- a/llvm/lib/CodeGen/StackColoring.cpp
+++ b/llvm/lib/CodeGen/StackColoring.cpp
@@ -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.
 


        


More information about the llvm-commits mailing list