Displaying 1 result from an estimated 1 matches for "distancemap".
2011 Oct 12
1
[LLVMdev] Problem in TwoAddressInstructionPass::runOnMachineFunction regarding subRegs
...ubIdx).addReg(regB);
+ }
+ else {
+ BuildMI(*mbbi, mi, mi->getDebugLoc(),
+ TII->get(TargetOpcode::COPY), regA).addReg(regB);
+ }
}
MachineBasicBlock::iterator prevMI = prior(mi);
// Update DistanceMap.
DistanceMap.insert(std::make_pair(prevMI, Dist));
@@ -1190,11 +1198,13 @@ bool
TwoAddressInstructionPass::runOnMachineFunction(MachineFunction &MF) {
"inconsistent operand info for 2-reg pass");
if (MO.isKill()) {
MO.setIsKill...