From 931df67ae6436a654374e494f11fbe9d77ff7a57 Mon Sep 17 00:00:00 2001 From: Sanjoy Das Date: Wed, 13 Jul 2016 23:33:20 +0000 Subject: [PATCH] [JumpThreading] Delete commented out debug code; NFC llvm-svn: 275346 --- llvm/lib/Transforms/Scalar/JumpThreading.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/llvm/lib/Transforms/Scalar/JumpThreading.cpp b/llvm/lib/Transforms/Scalar/JumpThreading.cpp index d0266b8..de1d7d5 100644 --- a/llvm/lib/Transforms/Scalar/JumpThreading.cpp +++ b/llvm/lib/Transforms/Scalar/JumpThreading.cpp @@ -955,7 +955,6 @@ bool JumpThreadingPass::SimplifyPartiallyRedundantLoad(LoadInst *LI) { FindAvailableLoadedValue(LI, LoadBB, BBIt, DefMaxInstsToScan)) { // If the value of the load is locally available within the block, just use // it. This frequently occurs for reg2mem'd allocas. - //cerr << "LOAD ELIMINATED:\n" << *BBIt << *LI << "\n"; // If the returned value is the load itself, replace with an undef. This can // only happen in dead loops. @@ -1100,8 +1099,6 @@ bool JumpThreadingPass::SimplifyPartiallyRedundantLoad(LoadInst *LI) { PN->addIncoming(PredV, I->first); } - //cerr << "PRE: " << *LI << *PN << "\n"; - LI->replaceAllUsesWith(PN); LI->eraseFromParent(); -- 2.7.4