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/103494] [12 Regression] ice in vect_get_vec_defs_for_operand, at tree-vect-stmts.c:1476 since r12-5612-g10833849b55401a52f2334eb032a70beb688e9fc Date: Tue, 30 Nov 2021 17:32:49 +0000 [thread overview] Message-ID: <bug-103494-4-GEsKefoWIN@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-103494-4@http.gcc.gnu.org/bugzilla/> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103494 --- Comment #6 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Richard Sandiford <rsandifo@gcc.gnu.org>: https://gcc.gnu.org/g:7057b8f8c2fbb7a2112705c2962d92b8ccef7c30 commit r12-5632-g7057b8f8c2fbb7a2112705c2962d92b8ccef7c30 Author: Richard Sandiford <richard.sandiford@arm.com> Date: Tue Nov 30 17:32:36 2021 +0000 vect: Fix ncopies calculation for emulated gather/scatter [PR103494] I was too eager about removing ncopies calculations in g:10833849b55. When emulating gather/scatter, the offset ncopies can be different from the data ncopies. This patch restores the original calculation. gcc/ PR tree-optimization/103494 * tree-vect-stmts.c (vect_get_gather_scatter_ops): Remove ncopies argument and calculate ncopies from gs_info->offset_vectype where necessary. (vectorizable_store, vectorizable_load): Update accordingly. gcc/testsuite/ PR tree-optimization/103494 * gcc.dg/vect/pr103494.c: New test. * g++.dg/vect/pr103494.cc: Likewise.
next prev parent reply other threads:[~2021-11-30 17:32 UTC|newest] Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top 2021-11-30 11:23 [Bug c++/103494] New: ice in vect_get_vec_defs_for_operand, at tree-vect-stmts.c:1476 dcb314 at hotmail dot com 2021-11-30 11:27 ` [Bug c++/103494] " dcb314 at hotmail dot com 2021-11-30 11:47 ` [Bug tree-optimization/103494] [12 Regression] " pinskia at gcc dot gnu.org 2021-11-30 12:39 ` dcb314 at hotmail dot com 2021-11-30 13:38 ` rguenth at gcc dot gnu.org 2021-11-30 14:23 ` rsandifo at gcc dot gnu.org 2021-11-30 14:34 ` [Bug tree-optimization/103494] [12 Regression] ice in vect_get_vec_defs_for_operand, at tree-vect-stmts.c:1476 since r12-5612-g10833849b55401a52f2334eb032a70beb688e9fc marxin at gcc dot gnu.org 2021-11-30 17:32 ` cvs-commit at gcc dot gnu.org [this message] 2021-11-30 17:35 ` rsandifo 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-103494-4-GEsKefoWIN@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).