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:
806e686
)
MachineVerifier: MI::print has no TargetMachine overload
author
Matthias Braun
<matze@braunis.de>
Mon, 9 Nov 2015 23:59:25 +0000
(23:59 +0000)
committer
Matthias Braun
<matze@braunis.de>
Mon, 9 Nov 2015 23:59:25 +0000
(23:59 +0000)
The code was passing a target machine pointer which degraded to a true
operand to SkipOppers.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@252550
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 e291ea52aa4d14411484bb2850deb1db6a564481..3904a69b31abea8d3bc31628a66f3aff7d4a71e7 100644
(file)
--- a/
lib/CodeGen/MachineVerifier.cpp
+++ b/
lib/CodeGen/MachineVerifier.cpp
@@
-424,7
+424,7
@@
void MachineVerifier::report(const char *msg, const MachineInstr *MI) {
errs() << "- instruction: ";
if (Indexes && Indexes->hasIndex(MI))
errs() << Indexes->getInstructionIndex(MI) << '\t';
- MI->print(errs(),
TM
);
+ MI->print(errs(),
/*SkipOpers=*/true
);
}
void MachineVerifier::report(const char *msg,