]> git.ipfire.org Git - thirdparty/gcc.git/commit
ipa-reorder-for-locality - Adjust bootstrap-lto-locality and param to reduce compile...
authorPrachi Godbole <pgodbole@nvidia.com>
Wed, 4 Feb 2026 07:23:10 +0000 (23:23 -0800)
committerKyrylo Tkachov <ktkachov@nvidia.com>
Wed, 4 Feb 2026 09:09:27 +0000 (10:09 +0100)
commit9c24b4d7df324cd2041ad16c810d6b4ca9dab0eb
tree33f673faa51a961e6a3a4c784ed4ca377afe78ad
parentd77d64766af4aa84afdf50e35917c6f124c74c86
ipa-reorder-for-locality - Adjust bootstrap-lto-locality and param to reduce compile time

This patch turns off -fipa-reorder-for-locality for -fprofile-generate because
it's not required and contributes to the bloated time taken by bootstrap.  It
also reduces the default partition size by half; the increased number of
partitions speeds up LTRANS phase.

Bootstrapped and tested on aarch64-none-linux-gnu. OK for mainline?

Signed-off-by: Prachi Godbole <pgodbole@nvidia.com>
config/ChangeLog:

* bootstrap-lto-locality.mk (STAGEprofile_CFLAGS): Remove
-fipa-reorder-for-locality.
(STAGEtrain_CFLAGS): Ditto.

gcc/ChangeLog:

* params.opt: Change default param value.
config/bootstrap-lto-locality.mk
gcc/params.opt