public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "cvs-commit at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/97421] aarch64: Wrong code with -O2 -fmodulo-sched
Date: Thu, 24 Dec 2020 16:42:37 +0000	[thread overview]
Message-ID: <bug-97421-4-oRMeBfh8o8@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-97421-4@http.gcc.gnu.org/bugzilla/>

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97421

--- Comment #11 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-9 branch has been updated by Roman Zhuykov
<zhroma@gcc.gnu.org>:

https://gcc.gnu.org/g:2435878321b053aebb2e2a886465662199542875

commit r9-9129-g2435878321b053aebb2e2a886465662199542875
Author: Roman Zhuykov <zhroma@ispras.ru>
Date:   Thu Dec 24 19:42:14 2020 +0300

    modulo-sched: Carefully process loop counter initialization [PR97421]

    Do not allow direct adjustment of pre-header initialization instruction for
    count register if is read in some instruction below in that basic block.

    gcc/ChangeLog:

            PR rtl-optimization/97421
            * modulo-sched.c (generate_prolog_epilog): Remove forward
            declaration, adjust last argument name and type.
            (const_iteration_count): Add bool pointer parameter to return
            whether count register is read in pre-header after its
            initialization.
            (sms_schedule): Fix count register initialization adjustment
            procedure according to what const_iteration_count said.

    gcc/testsuite/ChangeLog:

            PR rtl-optimization/97421
            * gcc.c-torture/execute/pr97421-1.c: New test.
            * gcc.c-torture/execute/pr97421-2.c: New test.
            * gcc.c-torture/execute/pr97421-3.c: New test.

    (cherry picked from commit 4eb8f93d026eaa1de9b4820337069f3ce3465cd0)

  parent reply	other threads:[~2020-12-24 16:42 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-10-14 13:58 [Bug tree-optimization/97421] New: [10/11 Regression] aarch64: Wrong code with -O2 -fmodulo-sched since r10-1318-ga7e8a46 acoplan at gcc dot gnu.org
2020-10-14 14:00 ` [Bug tree-optimization/97421] " acoplan at gcc dot gnu.org
2020-10-14 14:09 ` [Bug rtl-optimization/97421] " rguenth at gcc dot gnu.org
2020-10-14 14:10 ` rguenth at gcc dot gnu.org
2020-10-14 14:27 ` acoplan at gcc dot gnu.org
2020-10-14 19:24 ` [Bug rtl-optimization/97421] aarch64: Wrong code with -O2 -fmodulo-sched acoplan at gcc dot gnu.org
2020-11-20 10:46 ` zhroma at gcc dot gnu.org
2020-11-20 10:54 ` zhroma at gcc dot gnu.org
2020-11-20 10:55 ` zhroma at gcc dot gnu.org
2020-11-20 11:07 ` zhroma at gcc dot gnu.org
2020-12-05 15:47 ` cvs-commit at gcc dot gnu.org
2020-12-24 16:41 ` cvs-commit at gcc dot gnu.org
2020-12-24 16:42 ` cvs-commit at gcc dot gnu.org [this message]
2020-12-24 16:44 ` cvs-commit at gcc dot gnu.org
2020-12-24 17:22 ` zhroma at gcc dot gnu.org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-97421-4-oRMeBfh8o8@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).