[llvm] [InstrProf] Evaluate function order using test traces (PR #92451)
Kyungwoo Lee via llvm-commits
llvm-commits at lists.llvm.org
Fri May 17 12:00:59 PDT 2024
================
@@ -439,6 +439,13 @@ cl::opt<bool> ShowProfileVersion("profile-version", cl::init(false),
cl::desc("Show profile version. "),
cl::sub(ShowSubcommand));
+// Options specific to order subcommand.
+cl::opt<unsigned> NumTestTraces(
+ "num-test-traces", cl::init(0),
+ cl::desc("Keep aside <num-test-traces> traces when computing the function "
----------------
kyulee-com wrote:
Looks like you keep the last N traces as the test traces. Not sure we want to given an option to randomize it or using separate test traces. In either case, I'd like to get the description more accurate above.
https://github.com/llvm/llvm-project/pull/92451
More information about the llvm-commits
mailing list