> Am 20.10.2022 um 15:59 schrieb Andre Vieira (lists) via Gcc-patches > <[email protected]>: > > 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>
Re: [PATCH]vect: Fix vectype when widening container type in bitfield pattern [PR107326]
Richard Biener via Gcc-patches Thu, 20 Oct 2022 07:07:51 -0700
- [PATCH]vect: Fix vectype when widenin... Andre Vieira (lists) via Gcc-patches
- Re: [PATCH]vect: Fix vectype whe... Richard Biener via Gcc-patches
