projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cb4e4ea
)
Fix typo.
author
Eric Christopher
<echristo@apple.com>
Tue, 12 Apr 2011 00:48:08 +0000
(
00:48
+0000)
committer
Eric Christopher
<echristo@apple.com>
Tue, 12 Apr 2011 00:48:08 +0000
(
00:48
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@129334
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CodeGen/RegAllocFast.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/RegAllocFast.cpp
b/lib/CodeGen/RegAllocFast.cpp
index 15036e38b89376a8ffef6c1440955080abd3a330..e1994fc889c48226c4dc7f193f9789e7aa969f30 100644
(file)
--- 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 co
n
st 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) {