summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen
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
commitc37833625aea5846864576b97f5b199cfe62796c (patch)
tree45bbe114a63b9aac75151c6943f6c7cfc40fbad9 /llvm/lib/CodeGen
parent4f939da02d068aa7448d85922b997edc598cd36c (diff)
downloadbcm5719-llvm-c37833625aea5846864576b97f5b199cfe62796c.tar.gz
bcm5719-llvm-c37833625aea5846864576b97f5b199cfe62796c.zip
Fix typo.
llvm-svn: 129334
Diffstat (limited to 'llvm/lib/CodeGen')
-rw-r--r--llvm/lib/CodeGen/RegAllocFast.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/RegAllocFast.cpp b/llvm/lib/CodeGen/RegAllocFast.cpp
index 15036e38b89..e1994fc889c 100644
--- a/llvm/lib/CodeGen/RegAllocFast.cpp
+++ b/llvm/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) {
OpenPOWER on IntegriCloud