This is existing bug in GCC 13. I think I should split into 2 patches.
juzhe.zh...@rivai.ai From: Kito Cheng Date: 2023-05-29 11:17 To: juzhe.zhong CC: gcc-patches; kito.cheng; palmer; rdapp.gcc; jeffreyalaw; pan2.li Subject: Re: [PATCH V2] RISC-V: Add RVV FMA auto-vectorization support LGTM, but with one question. On Fri, May 26, 2023 at 7:36 PM <juzhe.zh...@rivai.ai> wrote: > > From: Juzhe-Zhong <juzhe.zh...@rivai.ai> > > This patch support FMA auto-vectorization pattern. > 1. Let's RA decide vmacc or vmadd. > 2. Fix bug of vector.md which generate incorrect information to VSETVL > PASS when testing ternop-3.c. Does this bug also appear in GCC 13? or this is new bug introduced at trunk