summaryrefslogtreecommitdiffstats
path: root/llvm/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
commit128a0197bbd7f802643fadcb50474746e730f74a (patch)
treea599847701c788f581a3fa09fe313deeb19bac5b /llvm/lib/CodeGen/CalcSpillWeights.cpp
parentb84e7dc80ed8c6c6790440352042bc99dac5018a (diff)
downloadbcm5719-llvm-128a0197bbd7f802643fadcb50474746e730f74a.tar.gz
bcm5719-llvm-128a0197bbd7f802643fadcb50474746e730f74a.zip
Fix typo.
llvm-svn: 107556
Diffstat (limited to 'llvm/lib/CodeGen/CalcSpillWeights.cpp')
-rw-r--r--llvm/lib/CodeGen/CalcSpillWeights.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/CalcSpillWeights.cpp b/llvm/lib/CodeGen/CalcSpillWeights.cpp
index a328d0e556e..240a7b94fcc 100644
--- a/llvm/lib/CodeGen/CalcSpillWeights.cpp
+++ b/llvm/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.
OpenPOWER on IntegriCloud