public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
From: Richard Biener <rguenther@suse.de>
To: "Andre Vieira (lists) via Gcc-patches" <gcc-patches@gcc.gnu.org>
Cc: Richard Sandiford <richard.sandiford@arm.com>
Subject: Re: [PATCH]vect: Fix vectype when widening container type in bitfield pattern [PR107326]
Date: Thu, 20 Oct 2022 16:07:39 +0200	[thread overview]
Message-ID: <18C9D06C-5135-40B4-89D5-5BF9F1D509C6@suse.de> (raw)
In-Reply-To: <f65c009b-bbff-3358-b3f4-c4ce73f01d7c@arm.com>



> Am 20.10.2022 um 15:59 schrieb Andre Vieira (lists) via Gcc-patches <gcc-patches@gcc.gnu.org>:
> 
> Hi,
> 
> The 'vect_recog_bitfield_ref_pattern' was not correctly adapting the vectype when widening the container.
> 
> I thought the original tests covered that code-path but they didn't, so I added a new run-test that covers it too.
> 
> Bootstrapped and regression tested on x86_64 and aarch64.

Ok,

Thanks,
Richard 

> gcc/ChangeLog:
> 
>     PR tree-optimization/107326
>     * tree-vect-patterns.cc (vect_recog_bitfield_ref_pattern): Change
>     vectype when widening container.
> 
> gcc/testsuite/ChangeLog:
> 
>     * gcc.dg/vect/pr107326.c: New test.
>     * gcc.dg/vect/vect-bitfield-read-7.c
> <pr107326.patch>

      reply	other threads:[~2022-10-20 14:07 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-10-20 13:58 Andre Vieira (lists)
2022-10-20 14:07 ` Richard Biener [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=18C9D06C-5135-40B4-89D5-5BF9F1D509C6@suse.de \
    --to=rguenther@suse.de \
    --cc=gcc-patches@gcc.gnu.org \
    --cc=richard.sandiford@arm.com \
    /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).