summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/LiveIntervals.cpp
diff options
context:
space:
mode:
authorAlkis Evlogimenos <alkis@evlogimenos.com>2004-01-05 08:24:57 +0000
committerAlkis Evlogimenos <alkis@evlogimenos.com>2004-01-05 08:24:57 +0000
commit2fa1aef7076e63e04846e48d3135c8a42a29d503 (patch)
treeaf70800fac4e2371b77c9de94bce7cf6c632a1cd /llvm/lib/CodeGen/LiveIntervals.cpp
parentdc24ced2ee870e34676afeb7610100b03aab2335 (diff)
downloadbcm5719-llvm-2fa1aef7076e63e04846e48d3135c8a42a29d503.tar.gz
bcm5719-llvm-2fa1aef7076e63e04846e48d3135c8a42a29d503.zip
Remove simple coalescing.
llvm-svn: 10695
Diffstat (limited to 'llvm/lib/CodeGen/LiveIntervals.cpp')
-rw-r--r--llvm/lib/CodeGen/LiveIntervals.cpp15
1 files changed, 0 insertions, 15 deletions
diff --git a/llvm/lib/CodeGen/LiveIntervals.cpp b/llvm/lib/CodeGen/LiveIntervals.cpp
index 4d0916046a0..1bd8deb37b2 100644
--- a/llvm/lib/CodeGen/LiveIntervals.cpp
+++ b/llvm/lib/CodeGen/LiveIntervals.cpp
@@ -131,21 +131,6 @@ bool LiveIntervals::runOnMachineFunction(MachineFunction &fn) {
assert(r2iit != r2iMap_.end());
intervals_[r2iit->second].weight += pow(10.0F, loopDepth);
}
-
- // add hints for coalescing
- unsigned src, dst;
- if (tii.isMoveInstr(*instr, src, dst)) {
- if (src >= MRegisterInfo::FirstVirtualRegister) {
- Reg2IntervalMap::iterator r2iit = r2iMap_.find(src);
- assert(r2iit != r2iMap_.end());
- intervals_[r2iit->second].hint = dst;
- }
- if (dst >= MRegisterInfo::FirstVirtualRegister) {
- Reg2IntervalMap::iterator r2iit = r2iMap_.find(dst);
- assert(r2iit != r2iMap_.end());
- intervals_[r2iit->second].hint = src;
- }
- }
}
}
OpenPOWER on IntegriCloud