projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6ea6444
)
[NFC] Fix typo in comment.
author
Than McIntosh
<thanm@google.com>
Thu, 5 Nov 2020 14:09:44 +0000
(09:09 -0500)
committer
Than 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
patch
|
blob
|
history
diff --git
a/llvm/lib/CodeGen/StackColoring.cpp
b/llvm/lib/CodeGen/StackColoring.cpp
index
2b3715d
..
af58204
100644
(file)
--- 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 s
am
ller one
+ // for disjoint slots. When you find disjoint slots, merge the s
ma
ller one
// into the bigger one and update the live interval. Remove the small alloca
// and continue.