public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
From: Jeff Law <jeffreyalaw@gmail.com>
To: Richard Biener <rguenther@suse.de>, gcc-patches@gcc.gnu.org
Subject: Re: [PATCH] tree-optimization/106081 - elide redundant permute
Date: Wed, 26 Jul 2023 10:18:13 -0600	[thread overview]
Message-ID: <a344a777-2ba0-e9db-3027-1c31efbe2f3b@gmail.com> (raw)
In-Reply-To: <20230726132804.E4E863854826@sourceware.org>



On 7/26/23 07:27, Richard Biener via Gcc-patches wrote:
> The following patch makes sure to elide a redundant permute that
> can be merged with existing splats represented as load permutations
> as we now do for non-grouped SLP loads.  This is the last bit
> missing to fix this PR where the main fix was already done by
> r14-2117-gdd86a5a69cbda4
> 
> Bootstrapped and tested on x86_64-unknown-linux-gnu, pushed.
> 
> 	PR tree-optimization/106081
> 	* tree-vect-slp.cc (vect_optimize_slp_pass::start_choosing_layouts):
> 	Assign layout -1 to splats.
> 
> 	* gcc.dg/vect/pr106081.c: New testcase.
:-)  Glad to see how easy this ended up being after the work you put 
into pushing permutes around a couple years ago.

jeff

       reply	other threads:[~2023-07-26 16:18 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20230726132804.E4E863854826@sourceware.org>
2023-07-26 16:18 ` Jeff Law [this message]
2023-07-27  7:52   ` Richard Biener
2023-07-26 13:27 Richard Biener

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=a344a777-2ba0-e9db-3027-1c31efbe2f3b@gmail.com \
    --to=jeffreyalaw@gmail.com \
    --cc=gcc-patches@gcc.gnu.org \
    --cc=rguenther@suse.de \
    /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).