forked from OSchip/llvm-project
Memdep says that an instruction clobbers itself
when it means there is no specific clobber instruction. llvm-svn: 116960
This commit is contained in:
parent
80b8817c9d
commit
1b85604130
|
@ -150,7 +150,10 @@ void MemDepPrinter::print(raw_ostream &OS, const Module *M) const {
|
|||
WriteAsOperand(OS, DepBB, /*PrintType=*/false, M);
|
||||
}
|
||||
OS << " from: ";
|
||||
DepInst->print(OS);
|
||||
if (DepInst == Inst)
|
||||
OS << "<unspecified>";
|
||||
else
|
||||
DepInst->print(OS);
|
||||
OS << "\n";
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue