mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-21 23:17:16 +00:00
Remove simple coalescing.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10695 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user