From 75322a6d0cf6d611973d3730fd888ce37407c41f Mon Sep 17 00:00:00 2001 From: Juzhe-Zhong Date: Mon, 23 Oct 2023 06:46:43 +0800 Subject: [PATCH] RISC-V: Fix AVL_TYPE attribute of tuple mode mov The tuple mode mov pattern doesn't have avl_type so it is invalid attribute. gcc/ChangeLog: * config/riscv/vector.md: Fix avl_type attribute of tuple mov. --- 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 32955fb8cf0..ef91950178f 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" "")]) + (set_attr "mode" "") + (set (attr "avl_type") (const_int INVALID_ATTRIBUTE))]) ;; ----------------------------------------------------------------- ;; ---- VLS Moves Operations