[PATCH] D33798: [PGO] Adjust indirect call promotion threshold

Teresa Johnson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 1 14:10:30 PDT 2017


This revision was automatically updated to reflect the committed changes.
Closed by commit rL304469: [PGO] Adjust indirect call promotion threshold (authored by tejohnson).

Changed prior to commit:
  https://reviews.llvm.org/D33798?vs=101100&id=101104#toc

Repository:
  rL LLVM

https://reviews.llvm.org/D33798

Files:
  llvm/trunk/lib/Analysis/IndirectCallPromotionAnalysis.cpp


Index: llvm/trunk/lib/Analysis/IndirectCallPromotionAnalysis.cpp
===================================================================
--- llvm/trunk/lib/Analysis/IndirectCallPromotionAnalysis.cpp
+++ llvm/trunk/lib/Analysis/IndirectCallPromotionAnalysis.cpp
@@ -43,7 +43,7 @@
 // The percent threshold for the direct-call target (this call site vs the
 // total call count) for it to be considered as the promotion target.
 static cl::opt<unsigned>
-    ICPPercentThreshold("icp-percent-threshold", cl::init(33), cl::Hidden,
+    ICPPercentThreshold("icp-percent-threshold", cl::init(30), cl::Hidden,
                         cl::ZeroOrMore,
                         cl::desc("The percentage threshold for the promotion"));
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D33798.101104.patch
Type: text/x-patch
Size: 725 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170601/7495d5e6/attachment.bin>


More information about the llvm-commits mailing list