public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r14-4843] RISC-V: Fix AVL_TYPE attribute of tuple mode mov<mode>
@ 2023-10-23  2:26 Pan Li
  0 siblings, 0 replies; only message in thread
From: Pan Li @ 2023-10-23  2:26 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:75322a6d0cf6d611973d3730fd888ce37407c41f

commit r14-4843-g75322a6d0cf6d611973d3730fd888ce37407c41f
Author: Juzhe-Zhong <juzhe.zhong@rivai.ai>
Date:   Mon Oct 23 06:46:43 2023 +0800

    RISC-V: Fix AVL_TYPE attribute of tuple mode mov<mode>
    
    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>.

Diff:
---
 gcc/config/riscv/vector.md | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/gcc/config/riscv/vector.md b/gcc/config/riscv/vector.md
index 32955fb8cf0e..ef91950178f1 100644
--- a/gcc/config/riscv/vector.md
+++ b/gcc/config/riscv/vector.md
@@ -1208,7 +1208,8 @@
     DONE;
   }
   [(set_attr "type" "vmov,vlde,vste")
-   (set_attr "mode" "<VT:MODE>")])
+   (set_attr "mode" "<VT:MODE>")
+   (set (attr "avl_type") (const_int INVALID_ATTRIBUTE))])
 
 ;; -----------------------------------------------------------------
 ;; ---- VLS Moves Operations

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-10-23  2:26 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-10-23  2:26 [gcc r14-4843] RISC-V: Fix AVL_TYPE attribute of tuple mode mov<mode> Pan Li

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).