Thanks Robin. I have sent V2: https://gcc.gnu.org/pipermail/gcc-patches/2023-November/637921.html with adding PR/target 112670
Could you commit it for me ? I am sorry that make you doing redundant work. I didn't realize they are same issue :) juzhe.zh...@rivai.ai From: Robin Dapp Date: 2023-11-23 19:58 To: juzhe.zh...@rivai.ai; gcc-patches CC: rdapp.gcc; kito.cheng; Kito.cheng; jeffreyalaw Subject: Re: [PATCH] RISC-V: Disable AVL propagation of vrgather instruction > Oh. You mean this patch also fixes FLTO failed case ? Yes, it's the same issue. There we have a fixed vl (known via LTO) that is being propagated "into" gathers and we end up missing gather elements. Regards Robin