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 tree-optimization/108979] [13 Regression] ICE in compute_live_loop_exits, at tree-ssa-loop-manip.cc:248
Date: Thu, 02 Mar 2023 16:40:11 +0000	[thread overview]
Message-ID: <bug-108979-4-elzmUnpYnt@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-108979-4@http.gcc.gnu.org/bugzilla/>

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

--- Comment #4 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The trunk branch has been updated by Richard Sandiford <rsandifo@gcc.gnu.org>:

https://gcc.gnu.org/g:076d309e36c682176e9f85dc8593e6f2c9e6e75f

commit r13-6418-g076d309e36c682176e9f85dc8593e6f2c9e6e75f
Author: Richard Sandiford <richard.sandiford@arm.com>
Date:   Thu Mar 2 16:39:50 2023 +0000

    vect: Don't apply masks to operations on invariants [PR108979]

    The loop body in the testcase contains an operation on invariants.
    SLP detects this and can hoist/schedule the operation outside of
    the loop.  However, after the fix for PR96373, we would try to
    apply a loop mask to this operation, even though the mask is
    defined in the loop.

    The patch does what Richi suggested in the PR: suppress the
    masking for externs and constants.

    gcc/
            PR tree-optimization/108979
            * tree-vect-stmts.cc (vectorizable_operation): Don't mask
            operations on invariants.

    gcc/testsuite/
            PR tree-optimization/108979
            * gfortran.dg/vect/pr108979.f90: New test.

  parent reply	other threads:[~2023-03-02 16:40 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-03-01  2:41 [Bug tree-optimization/108979] New: " asolokha at gmx dot com
2023-03-01  2:42 ` [Bug tree-optimization/108979] " pinskia at gcc dot gnu.org
2023-03-01  7:52 ` rguenth at gcc dot gnu.org
2023-03-01  8:35 ` rguenth at gcc dot gnu.org
2023-03-02 11:55 ` rsandifo at gcc dot gnu.org
2023-03-02 16:40 ` cvs-commit at gcc dot gnu.org [this message]
2023-03-02 16:41 ` rsandifo at gcc dot gnu.org
2023-04-03  8:58 ` cvs-commit 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-108979-4-elzmUnpYnt@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).