Add -fpartial-profile-training
Jakub Jelinek
jakub@redhat.com
Fri Dec 6 00:28:00 GMT 2019
On Wed, Dec 04, 2019 at 10:52:28PM +0100, Jan Hubicka wrote:
> * cgraphclones.c (localize_profile): New function.
> (cgraph_node::create_clone): Use it for partial profiles.
> * common.opt (fprofile-partial-training): New flag.
This FAILs everywhere, with:
Running /usr/src/gcc/gcc/testsuite/gcc.misc-tests/help.exp ...
FAIL: compiler driver --help=common option(s): "^ +-.*[^:.]$" absent from output: " -fprofile-partial-training Do not assume that functions never executed during the train run are cold"
FAIL: compiler driver --help=optimizers option(s): "^ +-.*[^:.]$" absent from output: " -fprofile-partial-training Do not assume that functions never executed during the train run are cold"
Fixed thusly, tested on x86_64-linux, committed to trunk as obvious:
2019-12-06 Jakub Jelinek <jakub@redhat.com>
* common.opt (fprofile-partial-training): Terminate description with
full stop.
--- gcc/common.opt.jj 2019-12-06 00:40:46.096605346 +0100
+++ gcc/common.opt 2019-12-06 01:24:22.825265282 +0100
@@ -2162,7 +2162,7 @@ Enable common options for generating pro
fprofile-partial-training
Common Report Var(flag_profile_partial_training) Optimization
-Do not assume that functions never executed during the train run are cold
+Do not assume that functions never executed during the train run are cold.
fprofile-use
Common Var(flag_profile_use)
Jakub
More information about the Gcc-patches
mailing list