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/103237] [9 Regression] wrong code with -ftree-vectorize at -O1 on x86_64-linux-gnu starting with r7-1219-gb28ead45fe630b9e
Date: Thu, 17 Feb 2022 11:56:59 +0000	[thread overview]
Message-ID: <bug-103237-4-ij3w3c6pjK@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-103237-4@http.gcc.gnu.org/bugzilla/>

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

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

https://gcc.gnu.org/g:68c80396906ab10051a69a2181e114c61dd4ee8a

commit r9-9954-g68c80396906ab10051a69a2181e114c61dd4ee8a
Author: Richard Biener <rguenther@suse.de>
Date:   Mon Nov 15 11:37:56 2021 +0100

    tree-optimization/103237 - avoid vectorizing unhandled double reductions

    Double reductions which have multiple LC PHIs in the inner loop
    are not handled correctly during transformation since those PHIs
    are not properly classified as reduction.  The following disables
    vectorizing them.

    2021-11-15  Richard Biener  <rguenther@suse.de>

            PR tree-optimization/103237
            * tree-vect-loop.c (vect_is_simple_reduction): Fail for
            double reductions with multiple inner loop LC PHI nodes.

            * gcc.dg/torture/pr103237.c: New testcase.

    (cherry picked from commit 220bd61874cf114667b44f9ded76ed0639eb278b)

  parent reply	other threads:[~2022-02-17 11:56 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-14 17:38 [Bug tree-optimization/103237] New: wrong code with -ftree-vectorize at -O1 on x86_64-linux-gnu haoxintu at gmail dot com
2021-11-14 21:09 ` [Bug tree-optimization/103237] [10/11/12 Regression] " pinskia at gcc dot gnu.org
2021-11-15  8:37 ` [Bug tree-optimization/103237] [10/11/12 Regression] wrong code with -ftree-vectorize at -O1 on x86_64-linux-gnu since r10-1361-g9f962469cabc7fdc marxin at gcc dot gnu.org
2021-11-15  9:19 ` rguenth at gcc dot gnu.org
2021-11-15  9:50 ` rguenth at gcc dot gnu.org
2021-11-15  9:55 ` rguenth at gcc dot gnu.org
2021-11-15 10:00 ` [Bug tree-optimization/103237] [10/11/12 Regression] wrong code with -ftree-vectorize at -O1 on x86_64-linux-gnu marxin at gcc dot gnu.org
2021-11-15 10:34 ` [Bug tree-optimization/103237] [10/11/12 Regression] wrong code with -ftree-vectorize at -O1 on x86_64-linux-gnu starting with r7-1219-gb28ead45fe630b9e rguenth at gcc dot gnu.org
2021-11-15 12:08 ` cvs-commit at gcc dot gnu.org
2021-11-22  8:00 ` [Bug tree-optimization/103237] [9/10/11 " cvs-commit at gcc dot gnu.org
2022-02-17 10:48 ` [Bug tree-optimization/103237] [9/10 " cvs-commit at gcc dot gnu.org
2022-02-17 11:56 ` cvs-commit at gcc dot gnu.org [this message]
2022-02-17 11:57 ` [Bug tree-optimization/103237] [9 " rguenth 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-103237-4-ij3w3c6pjK@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).