summaryrefslogtreecommitdiff
path: root/lib/CodeGen/RegAllocFast.cpp
diff options
context:
space:
mode:
authorEric Christopher <echristo@apple.com>2011-04-12 00:48:08 +0000
committerEric Christopher <echristo@apple.com>2011-04-12 00:48:08 +0000
commitbbfc3b30986ff89487350cade99ea7c90e2c8165 (patch)
tree9822db3e226ef52a97a9ccc6f912f279af7b4c79 /lib/CodeGen/RegAllocFast.cpp
parentcb4e4eae1afaa243c0654bc5dd668f9eb5085f06 (diff)
downloadllvm-bbfc3b30986ff89487350cade99ea7c90e2c8165.tar.gz
llvm-bbfc3b30986ff89487350cade99ea7c90e2c8165.tar.bz2
llvm-bbfc3b30986ff89487350cade99ea7c90e2c8165.tar.xz
Fix typo.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@129334 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/RegAllocFast.cpp')
-rw-r--r--lib/CodeGen/RegAllocFast.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/RegAllocFast.cpp b/lib/CodeGen/RegAllocFast.cpp
index 15036e38b8..e1994fc889 100644
--- a/lib/CodeGen/RegAllocFast.cpp
+++ b/lib/CodeGen/RegAllocFast.cpp
@@ -433,7 +433,7 @@ unsigned RAFast::calcSpillCost(unsigned PhysReg) const {
return LiveVirtRegs.lookup(VirtReg).Dirty ? spillDirty : spillClean;
}
- // This is a disabled register, add up const of aliases.
+ // This is a disabled register, add up cost of aliases.
unsigned Cost = 0;
for (const unsigned *AS = TRI->getAliasSet(PhysReg);
unsigned Alias = *AS; ++AS) {