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:
Jakob Stoklund Olesen 2010-10-27 00:39:01 +00:00
parent f85dd04bfa
commit 8c593f9173

View File

@ -1069,6 +1069,7 @@ void MachineVerifier::verifyLiveIntervals() {
}
// Check the LI only has one connected component.
if (TargetRegisterInfo::isVirtualRegister(LI.reg)) {
ConnectedVNInfoEqClasses ConEQ(*LiveInts);
unsigned NumComp = ConEQ.Classify(&LI);
if (NumComp > 1) {
@ -1077,4 +1078,5 @@ void MachineVerifier::verifyLiveIntervals() {
}
}
}
}