diff options
author | Alkis Evlogimenos <alkis@evlogimenos.com> | 2004-01-05 08:24:57 +0000 |
---|---|---|
committer | Alkis Evlogimenos <alkis@evlogimenos.com> | 2004-01-05 08:24:57 +0000 |
commit | 2fa1aef7076e63e04846e48d3135c8a42a29d503 (patch) | |
tree | af70800fac4e2371b77c9de94bce7cf6c632a1cd /llvm/lib/CodeGen/RegAllocLinearScan.cpp | |
parent | dc24ced2ee870e34676afeb7610100b03aab2335 (diff) | |
download | bcm5719-llvm-2fa1aef7076e63e04846e48d3135c8a42a29d503.tar.gz bcm5719-llvm-2fa1aef7076e63e04846e48d3135c8a42a29d503.zip |
Remove simple coalescing.
llvm-svn: 10695
Diffstat (limited to 'llvm/lib/CodeGen/RegAllocLinearScan.cpp')
-rw-r--r-- | llvm/lib/CodeGen/RegAllocLinearScan.cpp | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/llvm/lib/CodeGen/RegAllocLinearScan.cpp b/llvm/lib/CodeGen/RegAllocLinearScan.cpp index e677ce8824b..b58f6301402 100644 --- a/llvm/lib/CodeGen/RegAllocLinearScan.cpp +++ b/llvm/lib/CodeGen/RegAllocLinearScan.cpp @@ -617,17 +617,6 @@ unsigned RA::getFreePhysReg(Intervals::const_iterator cur) DEBUG(std::cerr << "\t\tgetting free physical register: "); const TargetRegisterClass* rc = mf_->getSSARegMap()->getRegClass(cur->reg); - if (unsigned reg = cur->hint) { - if (reg >= MRegisterInfo::FirstVirtualRegister && - v2pMap_.find(reg) != v2pMap_.end()) - reg = v2pMap_[reg]; - if (reg && reg < MRegisterInfo::FirstVirtualRegister && - mri_->getRegClass(reg) == rc && !regUse_[reg]) { - DEBUG(std::cerr << mri_->getName(reg) << '\n'); - return reg; - } - } - for (TargetRegisterClass::iterator i = rc->allocation_order_begin(*mf_); i != rc->allocation_order_end(*mf_); ++i) { unsigned reg = *i; |