summaryrefslogtreecommitdiff
path: root/lib/CodeGen/CalcSpillWeights.cpp
diff options
context:
space:
mode:
authorNadav Rotem <nrotem@apple.com>2013-04-06 04:24:12 +0000
committerNadav Rotem <nrotem@apple.com>2013-04-06 04:24:12 +0000
commit6e01dcbb7306514f11834f1e8d7d642013ea349b (patch)
tree833a51a8005e8d4d2230b6eb503bdbafea626d7e /lib/CodeGen/CalcSpillWeights.cpp
parent68d287d19e6918f46e58456fdd237c049efe372e (diff)
downloadllvm-6e01dcbb7306514f11834f1e8d7d642013ea349b.tar.gz
llvm-6e01dcbb7306514f11834f1e8d7d642013ea349b.tar.bz2
llvm-6e01dcbb7306514f11834f1e8d7d642013ea349b.tar.xz
typo
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@178949 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 dee339a458..38ae17d231 100644
--- a/lib/CodeGen/CalcSpillWeights.cpp
+++ b/lib/CodeGen/CalcSpillWeights.cpp
@@ -117,7 +117,7 @@ void VirtRegAuxInfo::CalculateWeightAndHint(LiveInterval &li) {
float totalWeight = 0;
SmallPtrSet<MachineInstr*, 8> visited;
- // Find the best physreg hist and the best virtreg hint.
+ // Find the best physreg hint and the best virtreg hint.
float bestPhys = 0, bestVirt = 0;
unsigned hintPhys = 0, hintVirt = 0;