[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
Tue Oct 1 12:25:26 PDT 2024


================
@@ -132,6 +132,14 @@ 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<DenseSet<StringRef>> ICPIgnoredBaseTypes(
----------------
minglotus-6 wrote:

I wasn't aware of `cl::list` (at least it didn't occur to me yesterday). Now used cl::list to save `llvm::SplitStrings`.

https://github.com/llvm/llvm-project/pull/110575


More information about the llvm-commits mailing list