[llvm] [TypeProf][PGO]Skip vtable-based ICP for which type profiles are known to be unrepresentative (PR #110575)
Mingming Liu via llvm-commits
llvm-commits at lists.llvm.org
Mon Sep 30 18:02:25 PDT 2024
================
@@ -132,6 +132,11 @@ static cl::opt<int> ICPMaxNumVTableLastCandidate(
"icp-max-num-vtable-last-candidate", cl::init(1), cl::Hidden,
cl::desc("The maximum number of vtable for the last candidate."));
+static cl::opt<std::string> ICPKnownUnrepresentativeVTables(
+ "icp-known-unrepresentative-vtables", cl::init(""), cl::Hidden,
----------------
minglotus-6 wrote:
This makes sense.
I updated the PR to use ` cl::opt<DenseSet<StringRef>> ICPIgnoredBaseTypes`, and will spin off the changes in CommandLine.h/cpp (with unit tests).
https://github.com/llvm/llvm-project/pull/110575
More information about the llvm-commits
mailing list