summaryrefslogtreecommitdiff
path: root/lib/CodeGen/CalcSpillWeights.cpp
diff options
context:
space:
mode:
authorEric Christopher <echristo@apple.com>2010-07-03 01:09:18 +0000
committerEric Christopher <echristo@apple.com>2010-07-03 01:09:18 +0000
commit00e840f4698633123ca799493c54f67ae20756df (patch)
treecb149db9e80f4e4f8a394d9e2a4dfbac419f4529 /lib/CodeGen/CalcSpillWeights.cpp
parentc607570563609b97f9bb0e3a367c9460c00976a7 (diff)
downloadllvm-00e840f4698633123ca799493c54f67ae20756df.tar.gz
llvm-00e840f4698633123ca799493c54f67ae20756df.tar.bz2
llvm-00e840f4698633123ca799493c54f67ae20756df.tar.xz
Fix typo.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@107556 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CalcSpillWeights.cpp')
-rw-r--r--lib/CodeGen/CalcSpillWeights.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/CalcSpillWeights.cpp b/lib/CodeGen/CalcSpillWeights.cpp
index a328d0e556..240a7b94fc 100644
--- a/lib/CodeGen/CalcSpillWeights.cpp
+++ b/lib/CodeGen/CalcSpillWeights.cpp
@@ -116,7 +116,7 @@ bool CalculateSpillWeights::runOnMachineFunction(MachineFunction &fn) {
SmallVector<LiveInterval*, 4> spillIs;
if (lis->isReMaterializable(li, spillIs, isLoad)) {
// If all of the definitions of the interval are re-materializable,
- // it is a preferred candidate for spilling. If non of the defs are
+ // it is a preferred candidate for spilling. If none of the defs are
// loads, then it's potentially very cheap to re-materialize.
// FIXME: this gets much more complicated once we support non-trivial
// re-materialization.