aboutsummaryrefslogtreecommitdiff
path: root/gcc/expr.cc
diff options
context:
space:
mode:
authorVladimir N. Makarov <vmakarov@redhat.com>2025-03-19 16:06:41 -0400
committerVladimir N. Makarov <vmakarov@redhat.com>2025-03-19 16:10:37 -0400
commit6c443e128802bd93158a3db7c4edf5fc1fc76c8d (patch)
tree760a078c9602bda4bd945ec93e77b694a53cbc80 /gcc/expr.cc
parentb9b25c108b054a3cb0fb449f2e9889e3bff71443 (diff)
downloadgcc-6c443e128802bd93158a3db7c4edf5fc1fc76c8d.zip
gcc-6c443e128802bd93158a3db7c4edf5fc1fc76c8d.tar.gz
gcc-6c443e128802bd93158a3db7c4edf5fc1fc76c8d.tar.bz2
[PR119270][IRA]: Ignore equiv init insns for cost calculation for invariants only
My previous patch for PR114991 contains code ignoring equiv init insns for increasing cost of usage the equivalence. Although common sense says it is right thing to do, this results in more aggressive usage of memory equivalence and significant performance degradation of SPEC2017 cactuBSSM. Given patch restores previous cost calculation for all equivalences except for invariant ones. gcc/ChangeLog: PR target/119270 * ira-costs.cc (calculate_equiv_gains): Ignore equiv init insns only for invariants.
Diffstat (limited to 'gcc/expr.cc')
0 files changed, 0 insertions, 0 deletions