diff --git a/lib/Transforms/Scalar/GVN.cpp b/lib/Transforms/Scalar/GVN.cpp index bd13ee59b3f..f71f9d8c182 100644 --- a/lib/Transforms/Scalar/GVN.cpp +++ b/lib/Transforms/Scalar/GVN.cpp @@ -1164,12 +1164,7 @@ bool GVN::processLoad(LoadInst *L, SmallVectorImpl &toErase) { DOUT << "GVN: load "; WriteAsOperand(*DOUT.stream(), L); Instruction *I = dep.getInst(); - DOUT << " is clobbered by " << I->getOpcodeName() << " instruction "; - if (I->getType()->isFirstClassType()) - WriteAsOperand(*DOUT.stream(), I, false); - else - DOUT << *I; - DOUT << "\n"; + DOUT << " is clobbered by " << *I; ); return false; }