Fix typo.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@129334 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Eric Christopher 2011-04-12 00:48:08 +00:00
parent cb4e4eae1a
commit bbfc3b3098

View File

@ -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) {