mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-31 12:41:49 +01:00
for instructions with void type we have no choice but print the instruction as
is, otherwise we get a <badref>. llvm-svn: 72567
This commit is contained in:
parent
4a228edc3a
commit
a4ebdef3e8
@ -1165,7 +1165,10 @@ bool GVN::processLoad(LoadInst *L, SmallVectorImpl<Instruction*> &toErase) {
|
||||
WriteAsOperand(*DOUT.stream(), L);
|
||||
Instruction *I = dep.getInst();
|
||||
DOUT << " is clobbered by " << I->getOpcodeName() << " instruction ";
|
||||
WriteAsOperand(*DOUT.stream(), I, false);
|
||||
if (I->getType()->isFirstClassType())
|
||||
WriteAsOperand(*DOUT.stream(), I, false);
|
||||
else
|
||||
DOUT << *I;
|
||||
DOUT << "\n";
|
||||
);
|
||||
return false;
|
||||
|
Loading…
x
Reference in New Issue
Block a user