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/108999] Maybe LRA produce inaccurate hardware register occupancy information for subreg operand Date: Thu, 09 Mar 2023 13:45:11 +0000 [thread overview] Message-ID: <bug-108999-4-JaCwzP7III@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-108999-4@http.gcc.gnu.org/bugzilla/> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108999 --- Comment #2 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Vladimir Makarov <vmakarov@gcc.gnu.org>: https://gcc.gnu.org/g:a6457974a1f443ab58d2334c02260299616c78b8 commit r13-6551-ga6457974a1f443ab58d2334c02260299616c78b8 Author: Vladimir N. Makarov <vmakarov@redhat.com> Date: Thu Mar 9 08:41:09 2023 -0500 LRA: For clobbered regs use operand mode instead of the biggest mode LRA is too conservative in calculation of conflicts with clobbered regs by using the biggest access mode. This results in failure of possible reg coalescing and worse code. This patch solves the problem. PR rtl-optimization/108999 gcc/ChangeLog: * lra-constraints.cc (process_alt_operands): Use operand modes for clobbered regs instead of the biggest access mode. gcc/testsuite/ChangeLog: * gcc.target/aarch64/pr108999.c: New.
next prev parent reply other threads:[~2023-03-09 13:45 UTC|newest] Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top 2023-03-03 1:31 [Bug rtl-optimization/108999] New: " lehua.ding at rivai dot ai 2023-03-03 15:09 ` [Bug rtl-optimization/108999] " vmakarov at gcc dot gnu.org 2023-03-09 13:45 ` cvs-commit at gcc dot gnu.org [this message] 2023-03-30 8:17 ` lehua.ding at rivai dot ai
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-108999-4-JaCwzP7III@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: linkBe 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).