mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-11-01 00:17:01 +00:00
Disable more of physical register live intervals verification.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@117762 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -609,7 +609,8 @@ MachineVerifier::visitMachineOperand(const MachineOperand *MO, unsigned MONum) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Check LiveInts liveness and kill.
|
// Check LiveInts liveness and kill.
|
||||||
if (LiveInts && !LiveInts->isNotInMIMap(MI)) {
|
if (TargetRegisterInfo::isVirtualRegister(Reg) &&
|
||||||
|
LiveInts && !LiveInts->isNotInMIMap(MI)) {
|
||||||
SlotIndex UseIdx = LiveInts->getInstructionIndex(MI).getUseIndex();
|
SlotIndex UseIdx = LiveInts->getInstructionIndex(MI).getUseIndex();
|
||||||
if (LiveInts->hasInterval(Reg)) {
|
if (LiveInts->hasInterval(Reg)) {
|
||||||
const LiveInterval &LI = LiveInts->getInterval(Reg);
|
const LiveInterval &LI = LiveInts->getInterval(Reg);
|
||||||
@@ -618,7 +619,7 @@ MachineVerifier::visitMachineOperand(const MachineOperand *MO, unsigned MONum) {
|
|||||||
*OS << UseIdx << " is not live in " << LI << '\n';
|
*OS << UseIdx << " is not live in " << LI << '\n';
|
||||||
}
|
}
|
||||||
// TODO: Verify isKill == LI.killedAt.
|
// TODO: Verify isKill == LI.killedAt.
|
||||||
} else if (TargetRegisterInfo::isVirtualRegister(Reg)) {
|
} else {
|
||||||
report("Virtual register has no Live interval", MO, MONum);
|
report("Virtual register has no Live interval", MO, MONum);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user