Report the defining instruction.

llvm-svn: 152460
This commit is contained in:
Jakob Stoklund Olesen 2012-03-10 00:44:11 +00:00
parent 34327fcdae
commit 99014ff206
1 changed files with 3 additions and 4 deletions

View File

@ -1020,10 +1020,9 @@ void MachineVerifier::visitMachineFunctionAfter() {
BBInfo &MInfo = MBBInfoMap[&MF->front()];
for (RegSet::iterator
I = MInfo.vregsRequired.begin(), E = MInfo.vregsRequired.end(); I != E;
++I) {
report("Virtual register def doesn't dominate all uses.", MF);
*OS << "- register:\t" << PrintReg(*I) << '\n';
}
++I)
report("Virtual register def doesn't dominate all uses.",
MRI->getVRegDef(*I));
}
if (LiveVars)