From 70ac142560a7fcf801c5635175a4760a0dd669cd Mon Sep 17 00:00:00 2001 From: Torok Edwin Date: Fri, 29 May 2009 16:58:36 +0000 Subject: [PATCH] just show the instruction, its not that slow. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@72577 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Transforms/Scalar/GVN.cpp | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) 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; }