Re: [PATCH] tree-optimization/110742 - fix latent issue with permuting existing vectors

2023-07-20 Thread Richard Biener via Gcc-patches
On Thu, 20 Jul 2023, Richard Sandiford wrote: > Richard Biener writes: > >> Am 20.07.2023 um 18:59 schrieb Richard Sandiford > >> : > >> > >> Richard Biener writes: > > Am 20.07.2023 um 16:09 schrieb Richard Sandiford > > : > > Richard Biener via Gcc-patches writes: > >>

Re: [PATCH] tree-optimization/110742 - fix latent issue with permuting existing vectors

2023-07-20 Thread Jeff Law via Gcc-patches
On 7/20/23 06:38, Richard Biener via Gcc-patches wrote: When we materialize a layout we push edge permutes to constant/external defs without checking we can actually do so. For externals defined by vector stmts rather than scalar components we can't. Bootstrapped and tested on x86_64-unknown

Re: [PATCH] tree-optimization/110742 - fix latent issue with permuting existing vectors

2023-07-20 Thread Richard Sandiford via Gcc-patches
Richard Biener writes: >> Am 20.07.2023 um 18:59 schrieb Richard Sandiford : >> >> Richard Biener writes: > Am 20.07.2023 um 16:09 schrieb Richard Sandiford > : Richard Biener via Gcc-patches writes: > When we materialize a layout we push edge permutes to constant/exte

Re: [PATCH] tree-optimization/110742 - fix latent issue with permuting existing vectors

2023-07-20 Thread Richard Biener via Gcc-patches
> Am 20.07.2023 um 18:59 schrieb Richard Sandiford : > > Richard Biener writes: Am 20.07.2023 um 16:09 schrieb Richard Sandiford : >>> >>> Richard Biener via Gcc-patches writes: When we materialize a layout we push edge permutes to constant/external defs without checki

Re: [PATCH] tree-optimization/110742 - fix latent issue with permuting existing vectors

2023-07-20 Thread Richard Sandiford via Gcc-patches
Richard Biener writes: >> Am 20.07.2023 um 16:09 schrieb Richard Sandiford : >> >> Richard Biener via Gcc-patches writes: >>> When we materialize a layout we push edge permutes to constant/external >>> defs without checking we can actually do so. For externals defined >>> by vector stmts rathe

Re: [PATCH] tree-optimization/110742 - fix latent issue with permuting existing vectors

2023-07-20 Thread Richard Biener via Gcc-patches
> Am 20.07.2023 um 16:09 schrieb Richard Sandiford : > > Richard Biener via Gcc-patches writes: >> When we materialize a layout we push edge permutes to constant/external >> defs without checking we can actually do so. For externals defined >> by vector stmts rather than scalar components we

Re: [PATCH] tree-optimization/110742 - fix latent issue with permuting existing vectors

2023-07-20 Thread Richard Sandiford via Gcc-patches
Richard Biener via Gcc-patches writes: > When we materialize a layout we push edge permutes to constant/external > defs without checking we can actually do so. For externals defined > by vector stmts rather than scalar components we can't. > > Bootstrapped and tested on x86_64-unknown-linux-gnu.

[PATCH] tree-optimization/110742 - fix latent issue with permuting existing vectors

2023-07-20 Thread Richard Biener via Gcc-patches
When we materialize a layout we push edge permutes to constant/external defs without checking we can actually do so. For externals defined by vector stmts rather than scalar components we can't. Bootstrapped and tested on x86_64-unknown-linux-gnu. OK? Thanks, Richard. PR tree-optimizat