[PATCH] D33535: [PM] Teach the PGO instrumentation pasess to run GlobalDCE before instrumenting code.
Davide Italiano via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed May 24 22:52:23 PDT 2017
davide accepted this revision.
davide added a comment.
This revision is now accepted and ready to land.
I can see the bloat as we inline with a ridicolously high threshold before instrumenting without DCE'ing, so the patch seems a decent idea.
Also, DCE is basically free compile-time wise. If you want to improve I'd do it on the DCE side instead of the instrumentation side, but that needs a larger discussion which definitely doesn't fit in the margin of this page.
https://reviews.llvm.org/D33535
More information about the llvm-commits
mailing list