Committed, thanks Jeff. Pan
-----Original Message----- From: Jeff Law <[email protected]> Sent: Monday, October 23, 2023 10:24 AM To: Juzhe-Zhong <[email protected]>; [email protected] Cc: [email protected]; [email protected]; [email protected] Subject: Re: [PATCH] RISC-V: Fix AVL_TYPE attribute of tuple mode mov<mode> On 10/22/23 16:46, Juzhe-Zhong wrote: > The tuple mode mov<mode> pattern doesn't have avl_type so it is invalid > attribute. > > gcc/ChangeLog: > > * config/riscv/vector.md: Fix avl_type attribute of tuple mov<mode>. Presumably you got a fault or something similar trying to compute the avl_type attr when trying to access operands[7]? from this code: > (eq_attr "type" > "vlde,vldff,vste,vimov,vimov,vimov,vfmov,vext,vimerge,\ > > vfsqrt,vfrecp,vfmerge,vfcvtitof,vfcvtftoi,vfwcvtitof,\ > > vfwcvtftoi,vfwcvtftof,vfncvtitof,vfncvtftoi,vfncvtftof,\ > vfclass,vired,viwred,vfredu,vfredo,vfwredu,vfwredo,\ > vimovxv,vfmovfv,vlsegde,vlsegdff") > (symbol_ref "INTVAL (operands[7])") > (eq_attr "type" "vldm,vstm,vimov,vmalu,vmalu") OK for the trunk. Jeff
