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/108711] [13 Regression] ICE in get_equiv, at lra-constraints.cc:534 Date: Thu, 09 Feb 2023 21:48:46 +0000 [thread overview] Message-ID: <bug-108711-4-fWEhQ8QeNQ@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-108711-4@http.gcc.gnu.org/bugzilla/> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108711 --- Comment #5 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:10827a92f1a8c3207b327515f77845b34c1d9512 commit r13-5761-g10827a92f1a8c3207b327515f77845b34c1d9512 Author: Vladimir N. Makarov <vmakarov@redhat.com> Date: Thu Feb 9 15:18:48 2023 -0500 RA: Implement reuse of equivalent memory for caller saves optimization (2nd version) The test pr103541.c shows opportunity to reuse memory with constant address for caller saves optimization for constant or pure function call. The patch implements the memory reuse. PR rtl-optimization/103541 PR rtl-optimization/108711 gcc/ChangeLog: * ira.h (struct ira_reg_equiv_s): Add new field caller_save_p. * ira.cc (validate_equiv_mem): Check memref address variance. (no_equiv): Clear caller_save_p flag. (update_equiv_regs): Define caller save equivalence for valid_combine. (setup_reg_equiv): Clear defined_p flag for caller save equivalence. * lra-constraints.cc (lra_copy_reg_equiv): Add new arg call_save_p. Use caller save equivalence depending on the arg. (split_reg): Adjust the call. gcc/testsuite/ChangeLog: * gcc.target/i386/pr103541.c: New. * g++.target/i386/pr108711.C: New.
prev parent reply other threads:[~2023-02-09 21:48 UTC|newest] Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top 2023-02-08 8:24 [Bug bootstrap/108711] New: " marxin at gcc dot gnu.org 2023-02-08 8:26 ` [Bug rtl-optimization/108711] " pinskia at gcc dot gnu.org 2023-02-08 8:31 ` jakub at gcc dot gnu.org 2023-02-08 8:37 ` marxin at gcc dot gnu.org 2023-02-08 18:09 ` pinskia at gcc dot gnu.org 2023-02-09 21:48 ` cvs-commit at gcc dot gnu.org [this message]
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-108711-4-fWEhQ8QeNQ@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).