summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTeresa Johnson <tejohnson@google.com>2016-07-12 23:49:17 +0000
committerTeresa Johnson <tejohnson@google.com>2016-07-12 23:49:17 +0000
commit835df56cb3d222a76fa65eb34bd27d8e2e98e45f (patch)
treefe4df036b13bc26abdef6c7f11b5dbe947f0e977
parent63710584736da0d8a456916fffcca4b587b858b1 (diff)
downloadbcm5719-llvm-835df56cb3d222a76fa65eb34bd27d8e2e98e45f.tar.gz
bcm5719-llvm-835df56cb3d222a76fa65eb34bd27d8e2e98e45f.zip
Remove another unused variable from r275216
Remove another variable added in r275216 that was only used in debug mode. llvm-svn: 275238
-rw-r--r--llvm/lib/Analysis/IndirectCallPromotionAnalysis.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/lib/Analysis/IndirectCallPromotionAnalysis.cpp b/llvm/lib/Analysis/IndirectCallPromotionAnalysis.cpp
index b3941a4004a..3da33ac7142 100644
--- a/llvm/lib/Analysis/IndirectCallPromotionAnalysis.cpp
+++ b/llvm/lib/Analysis/IndirectCallPromotionAnalysis.cpp
@@ -81,9 +81,8 @@ uint32_t ICallPromotionAnalysis::getProfitablePromotionCandidates(
for (; I < MaxNumPromotions && I < NumVals; I++) {
uint64_t Count = ValueDataRef[I].Count;
assert(Count <= TotalCount);
- uint64_t Target = ValueDataRef[I].Value;
DEBUG(dbgs() << " Candidate " << I << " Count=" << Count
- << " Target_func: " << Target << "\n");
+ << " Target_func: " << ValueDataRef[I].Value << "\n");
if (!isPromotionProfitable(Count, TotalCount)) {
DEBUG(dbgs() << " Not promote: Cold target.\n");
OpenPOWER on IntegriCloud