aboutsummaryrefslogtreecommitdiff
path: root/libiberty/lrealpath.c
diff options
context:
space:
mode:
authorVladimir N. Makarov <vmakarov@redhat.com>2023-02-10 11:12:37 -0500
committerVladimir N. Makarov <vmakarov@redhat.com>2023-02-10 11:45:33 -0500
commit3c5154d0f0d2185b518465b264ca17fb7c60c1e8 (patch)
tree204368be9cb8000a5e0cd55fceb3625a71bbd384 /libiberty/lrealpath.c
parent6493b7af37e473a89c67afab474330f931dd8447 (diff)
downloadgcc-3c5154d0f0d2185b518465b264ca17fb7c60c1e8.zip
gcc-3c5154d0f0d2185b518465b264ca17fb7c60c1e8.tar.gz
gcc-3c5154d0f0d2185b518465b264ca17fb7c60c1e8.tar.bz2
RA: Use simple LRA for huge functions
The PR108500 test contains a huge function and RA spends a lot of time to compile the test with -O0. The patch decreases compilation time considerably for huge functions. Compilation time for the PR test decreases from 1235s to 709s on Intel i7-13600K. PR tree-optimization/108500 gcc/ChangeLog: * params.opt (ira-simple-lra-insn-threshold): Add new param. * ira.cc (ira): Use the param to switch on simple LRA.
Diffstat (limited to 'libiberty/lrealpath.c')
0 files changed, 0 insertions, 0 deletions