]> gcc.gnu.org Git - gcc.git/commitdiff
RISC-V: Fix AVL_TYPE attribute of tuple mode mov<mode>
authorJuzhe-Zhong <juzhe.zhong@rivai.ai>
Sun, 22 Oct 2023 22:46:43 +0000 (06:46 +0800)
committerPan Li <pan2.li@intel.com>
Mon, 23 Oct 2023 02:26:11 +0000 (10:26 +0800)
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>.

gcc/config/riscv/vector.md

index 32955fb8cf0ea5f4ca8c8713d48293332b02187d..ef91950178f13a8795bbda951c5edf6bc32f737e 100644 (file)
     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
This page took 0.07227 seconds and 5 git commands to generate.