summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSanjoy Das <sanjoy@playingwithpointers.com>2016-07-13 23:33:20 +0000
committerSanjoy Das <sanjoy@playingwithpointers.com>2016-07-13 23:33:20 +0000
commit931df67ae6436a654374e494f11fbe9d77ff7a57 (patch)
tree2c97e56964d597d26ccccd7bbb4dc79f7d8e9d7c
parentf89660aba78401fab81852c23437509796e8b5eb (diff)
downloadbcm5719-llvm-931df67ae6436a654374e494f11fbe9d77ff7a57.tar.gz
bcm5719-llvm-931df67ae6436a654374e494f11fbe9d77ff7a57.zip
[JumpThreading] Delete commented out debug code; NFC
llvm-svn: 275346
-rw-r--r--llvm/lib/Transforms/Scalar/JumpThreading.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/llvm/lib/Transforms/Scalar/JumpThreading.cpp b/llvm/lib/Transforms/Scalar/JumpThreading.cpp
index d0266b8bf7e..de1d7d50384 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();
OpenPOWER on IntegriCloud