[PATCH] D104060: Machine IR Profile
Ellis Hoag via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Jun 10 19:05:25 PDT 2021
ellis added a comment.
> Can you compare the instrumentation overhead with -fcs-profile-generate? (as with -fprofile-generate). You may also want to disable value profiling (which can be expensive) in -fcs-profile-generate.
> Thanks for sharing this! Specifically re: the -fprofile-generate v. MIP comparison for code coverage, perhaps it would be more fair to compare against -finstrument-function-entry-bare. The latter only adds one call per function, whereas -fprofile-generate can add instrument a function in more than one place.
@davidxl @vsk
Yes, I am planning to run some more simple benchmarks from `llvm-test-suite` for code size and performance of the instrumented binaries. I can compare MIP vs `-finstrument-function-entry-bare`, but are there any flags I should compare against?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D104060/new/
https://reviews.llvm.org/D104060
More information about the llvm-commits
mailing list