[llvm] [TypeProf][PGO]Skip vtable-based ICP for which type profiles are known to be unrepresentative (PR #110575)

Teresa Johnson via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 1 08:49:22 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(
----------------
teresajohnson wrote:

cl::list is the typical way of supporting an option that takes a list. Can you just use that instead of adding another cl::opt parser?

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


More information about the llvm-commits mailing list