diff options
author | Davide Italiano <davide@freebsd.org> | 2015-10-25 20:00:49 +0000 |
---|---|---|
committer | Davide Italiano <davide@freebsd.org> | 2015-10-25 20:00:49 +0000 |
commit | f04d89bdb4338500b445ab5c74d8d58dbd8bda50 (patch) | |
tree | 7a5e37dce0180710e341e86d0739a83499618e04 /llvm/lib/Analysis/ScalarEvolution.cpp | |
parent | 2071f4cc5a0c9e3e4aa650fb55bfde0784a3eb4c (diff) | |
download | bcm5719-llvm-f04d89bdb4338500b445ab5c74d8d58dbd8bda50.tar.gz bcm5719-llvm-f04d89bdb4338500b445ab5c74d8d58dbd8bda50.zip |
[ScalarEvolution] Throw away dead code.
llvm-svn: 251256
Diffstat (limited to 'llvm/lib/Analysis/ScalarEvolution.cpp')
-rw-r--r-- | llvm/lib/Analysis/ScalarEvolution.cpp | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/llvm/lib/Analysis/ScalarEvolution.cpp b/llvm/lib/Analysis/ScalarEvolution.cpp index a4a551c1b3e..acade7c1600 100644 --- a/llvm/lib/Analysis/ScalarEvolution.cpp +++ b/llvm/lib/Analysis/ScalarEvolution.cpp @@ -5461,14 +5461,6 @@ ScalarEvolution::computeExitLimitFromICmp(const Loop *L, break; } default: -#if 0 - dbgs() << "computeBackedgeTakenCount "; - if (ExitCond->getOperand(0)->getType()->isUnsigned()) - dbgs() << "[unsigned] "; - dbgs() << *LHS << " " - << Instruction::getOpcodeName(Instruction::ICmp) - << " " << *RHS << "\n"; -#endif break; } return computeExitCountExhaustively(L, ExitCond, !L->contains(TBB)); @@ -5581,11 +5573,6 @@ ScalarEvolution::computeLoadConstantCompareExitLimit( Result = ConstantExpr::getICmp(predicate, Result, RHS); if (!isa<ConstantInt>(Result)) break; // Couldn't decide for sure if (cast<ConstantInt>(Result)->getValue().isMinValue()) { -#if 0 - dbgs() << "\n***\n*** Computed loop count " << *ItCst - << "\n*** From global " << *GV << "*** BB: " << *L->getHeader() - << "***\n"; -#endif ++NumArrayLenItCounts; return getConstant(ItCst); // Found terminating iteration! } @@ -6392,10 +6379,6 @@ ScalarEvolution::HowFarToZero(const SCEV *V, const Loop *L, bool ControlsExit) { const SCEVConstant *R1 = dyn_cast<SCEVConstant>(Roots.first); const SCEVConstant *R2 = dyn_cast<SCEVConstant>(Roots.second); if (R1 && R2) { -#if 0 - dbgs() << "HFTZ: " << *V << " - sol#1: " << *R1 - << " sol#2: " << *R2 << "\n"; -#endif // Pick the smallest positive root value. if (ConstantInt *CB = dyn_cast<ConstantInt>(ConstantExpr::getICmp(CmpInst::ICMP_ULT, |