https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108707#c9

>Pranav Gorantla 2025-02-06 04:30:05 UTC
>Facing similar issue in gcc-13. Is it possible to backport the fix of this Bug 
>108707 and Bug 109610 to gcc-13, gcc-12 as well.

This series is to ask approval for the backport of r14-172 and r14-1252 to 
GCC13 and GCC12 release branch.
Note r14-1252 is a fix to r14-172 which regressed powerpc testcase in PR109610.
I have verified the fix also works on GCC13/GCC12 branch for PR109610.

Bootstrapped and regtested on x86_64-pc-linux-gnu{-m32,}, and aarch64-linux-gnu.
Ok for backport


liuhongt (3):
  Use NO_REGS in cost calculation when the preferred register class are
    not known yet.
  Only use NO_REGS in cost calculation when !hard_regno_mode_ok for
    GENERAL_REGS and mode.
  Adjust testcases after better RA decision.

 gcc/ira-costs.cc                              |   7 +
 .../i386/avx2-dest-false-dep-for-glc.c        |  28 +-
 .../i386/avx512dq-dest-false-dep-for-glc.c    | 257 ++++++++++---
 .../i386/avx512f-dest-false-dep-for-glc.c     | 348 ++++++++++++++----
 .../i386/avx512fp16-dest-false-dep-for-glc.c  | 118 ++++--
 .../i386/avx512vl-dest-false-dep-for-glc.c    | 243 +++++++++---
 gcc/testsuite/gcc.target/i386/pr108707.c      |  16 +
 7 files changed, 813 insertions(+), 204 deletions(-)
 create mode 100644 gcc/testsuite/gcc.target/i386/pr108707.c

-- 
2.34.1

Reply via email to