[PATCH] D83852: [llvm-profdata] Implement llvm-profdata overlap for sample profiles
Wenlei He via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sat Aug 8 17:46:49 PDT 2020
wenlei accepted this revision.
wenlei added a comment.
Thank you for working on this during internship, @weihe! The extra tweaks here on top of our internal version look good to me as well. The test failure doesn't seem related, I will rebase and land this on your behalf.
================
Comment at: llvm/test/tools/llvm-profdata/sample-overlap.test:1
+; RUN: llvm-profdata overlap --sample %S/Inputs/sample-overlap-0.proftext %S/Inputs/sample-overlap-0.proftext | FileCheck %s --check-prefix=OVERLAP0 --match-full-lines --strict-whitespace
+; OVERLAP0:Program level:
----------------
MaskRay wrote:
> You may consider a new test utility `split-file`, which can group multiple auxiliary files. D83834
Thanks for the pointer - I wasn't aware of the recently added utility. That will work, but in this particular case, I think it's still better to keep profile inputs separate so they're semantically legal afdo profile by themselves.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D83852/new/
https://reviews.llvm.org/D83852
More information about the llvm-commits
mailing list