RISC-V: Remove redundant attributes [NFC]
authorJu-Zhe Zhong <juzhe.zhong@rivai.ai>
Fri, 27 Jan 2023 22:57:14 +0000 (06:57 +0800)
committerKito Cheng <kito.cheng@sifive.com>
Sat, 28 Jan 2023 03:11:44 +0000 (11:11 +0800)
gcc/ChangeLog:

* config/riscv/vector.md (tail_policy_op_idx): Remove.
(mask_policy_op_idx): Remove.
(avl_type_op_idx): Remove.

gcc/config/riscv/vector.md

index 8c60eb2..4319266 100644 (file)
         (const_int 4)]
        (const_int INVALID_ATTRIBUTE)))
 
-;; The index of operand[] to get the tail policy op.
-(define_attr "tail_policy_op_idx" ""
-  (cond [(eq_attr "type" "vlde,vste,vimov,vfmov,vlds")
-        (const_int 5)]
-       (const_int INVALID_ATTRIBUTE)))
-
-;; The index of operand[] to get the mask policy op.
-(define_attr "mask_policy_op_idx" ""
-  (cond [(eq_attr "type" "vlde,vste,vlds")
-        (const_int 6)]
-       (const_int INVALID_ATTRIBUTE)))
-
-;; The index of operand[] to get the mask policy op.
-(define_attr "avl_type_op_idx" ""
-  (cond [(eq_attr "type" "vlde,vlde,vste,vimov,vimov,vimov,vfmov,vlds,vlds")
-        (const_int 7)
-        (eq_attr "type" "vldm,vstm,vimov,vmalu,vmalu")
-        (const_int 5)]
-       (const_int INVALID_ATTRIBUTE)))
-
 ;; The tail policy op value.
 (define_attr "ta" ""
   (cond [(eq_attr "type" "vlde,vimov,vfmov,vlds")