public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
From: Pan Li <panli@gcc.gnu.org>
To: gcc-cvs@gcc.gnu.org
Subject: [gcc r14-4843] RISC-V: Fix AVL_TYPE attribute of tuple mode mov<mode>
Date: Mon, 23 Oct 2023 02:26:46 +0000 (GMT)	[thread overview]
Message-ID: <20231023022646.EAC493858D37@sourceware.org> (raw)

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

                 reply	other threads:[~2023-10-23  2:26 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20231023022646.EAC493858D37@sourceware.org \
    --to=panli@gcc.gnu.org \
    --cc=gcc-cvs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).