projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
64ffa83
)
Report the defining instruction.
author
Jakob Stoklund Olesen
<stoklund@2pi.dk>
Sat, 10 Mar 2012 00:44:11 +0000
(
00:44
+0000)
committer
Jakob Stoklund Olesen
<stoklund@2pi.dk>
Sat, 10 Mar 2012 00:44:11 +0000
(
00:44
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@152460
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CodeGen/MachineVerifier.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/MachineVerifier.cpp
b/lib/CodeGen/MachineVerifier.cpp
index 91a536d0631fc84198f31fced484d347a3ff8861..830a87632726a72974437c789c79c45431783cfc 100644
(file)
--- a/
lib/CodeGen/MachineVerifier.cpp
+++ b/
lib/CodeGen/MachineVerifier.cpp
@@
-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)