mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-24 22:24:54 +00:00
update a couple of references to SSARegMap.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@45468 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -606,7 +606,7 @@ void ScheduleDAG::EmitSubregNode(SDNode *Node,
|
||||
SubIdx = cast<ConstantSDNode>(Node->getOperand(2))->getValue();
|
||||
}
|
||||
|
||||
// TODO: Add tracking info to SSARegMap of which vregs are subregs
|
||||
// TODO: Add tracking info to MachineRegisterInfo of which vregs are subregs
|
||||
// to allow coalescing in the allocator
|
||||
|
||||
// If the node is only used by a CopyToReg and the dest reg is a vreg, use
|
||||
|
@@ -1410,8 +1410,8 @@ bool SimpleRegisterCoalescing::runOnMachineFunction(MachineFunction &fn) {
|
||||
(*I)->eraseFromParent();
|
||||
}
|
||||
|
||||
// Transfer sub-registers info to SSARegMap now that coalescing information
|
||||
// is complete.
|
||||
// Transfer sub-registers info to MachineRegisterInfo now that coalescing
|
||||
// information is complete.
|
||||
RegSubIdxMap.grow(RegInfo.getLastVirtReg()+1);
|
||||
while (!SubRegIdxes.empty()) {
|
||||
std::pair<unsigned, unsigned> RI = SubRegIdxes.back();
|
||||
|
Reference in New Issue
Block a user