mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-21 06:30:16 +00:00
Physical registers trivially have multiple connected components all the time.
Only virtuals should be requires to be connected. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@117422 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
f85dd04bfa
commit
8c593f9173
@ -1069,11 +1069,13 @@ void MachineVerifier::verifyLiveIntervals() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Check the LI only has one connected component.
|
// Check the LI only has one connected component.
|
||||||
ConnectedVNInfoEqClasses ConEQ(*LiveInts);
|
if (TargetRegisterInfo::isVirtualRegister(LI.reg)) {
|
||||||
unsigned NumComp = ConEQ.Classify(&LI);
|
ConnectedVNInfoEqClasses ConEQ(*LiveInts);
|
||||||
if (NumComp > 1) {
|
unsigned NumComp = ConEQ.Classify(&LI);
|
||||||
report("Multiple connected components in live interval", MF);
|
if (NumComp > 1) {
|
||||||
*OS << NumComp << " components in " << LI << '\n';
|
report("Multiple connected components in live interval", MF);
|
||||||
|
*OS << NumComp << " components in " << LI << '\n';
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user