[llvm] r275346 - [JumpThreading] Delete commented out debug code; NFC

Sanjoy Das via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 13 16:33:21 PDT 2016


Author: sanjoy
Date: Wed Jul 13 18:33:20 2016
New Revision: 275346

URL: http://llvm.org/viewvc/llvm-project?rev=275346&view=rev
Log:
[JumpThreading] Delete commented out debug code; NFC

Modified:
    llvm/trunk/lib/Transforms/Scalar/JumpThreading.cpp

Modified: llvm/trunk/lib/Transforms/Scalar/JumpThreading.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/Scalar/JumpThreading.cpp?rev=275346&r1=275345&r2=275346&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/Scalar/JumpThreading.cpp (original)
+++ llvm/trunk/lib/Transforms/Scalar/JumpThreading.cpp Wed Jul 13 18:33:20 2016
@@ -955,7 +955,6 @@ bool JumpThreadingPass::SimplifyPartiall
         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::SimplifyPartiall
     PN->addIncoming(PredV, I->first);
   }
 
-  //cerr << "PRE: " << *LI << *PN << "\n";
-
   LI->replaceAllUsesWith(PN);
   LI->eraseFromParent();
 




More information about the llvm-commits mailing list