diff mbox series

RISC-V: Remove unused redundant vector attributes

Message ID 20221214085148.229220-1-juzhe.zhong@rivai.ai
State New
Headers show
Series RISC-V: Remove unused redundant vector attributes | expand

Commit Message

钟居哲 Dec. 14, 2022, 8:51 a.m. UTC
From: Ju-Zhe Zhong <juzhe.zhong@rivai.ai>

I found that I forgot to remove these redundant attributes.
Sorry about that.

gcc/ChangeLog:

        * config/riscv/vector.md (): Remove redundant attributes.

---
 gcc/config/riscv/vector.md | 20 --------------------
 1 file changed, 20 deletions(-)

Comments

Jeff Law Dec. 16, 2022, 7:54 p.m. UTC | #1
On 12/14/22 01:51, juzhe.zhong@rivai.ai wrote:
> From: Ju-Zhe Zhong <juzhe.zhong@rivai.ai>
> 
> I found that I forgot to remove these redundant attributes.
> Sorry about that.
> 
> gcc/ChangeLog:
> 
>          * config/riscv/vector.md (): Remove redundant attributes.
OK.
jeff
Kito Cheng Dec. 19, 2022, 3:07 p.m. UTC | #2
Commited

Jeff Law via Gcc-patches <gcc-patches@gcc.gnu.org> 於 2022年12月17日 週六 03:55
寫道:

>
>
> On 12/14/22 01:51, juzhe.zhong@rivai.ai wrote:
> > From: Ju-Zhe Zhong <juzhe.zhong@rivai.ai>
> >
> > I found that I forgot to remove these redundant attributes.
> > Sorry about that.
> >
> > gcc/ChangeLog:
> >
> >          * config/riscv/vector.md (): Remove redundant attributes.
> OK.
> jeff
>
>
diff mbox series

Patch

diff --git a/gcc/config/riscv/vector.md b/gcc/config/riscv/vector.md
index 3bfda652318..7dfadaa96b6 100644
--- a/gcc/config/riscv/vector.md
+++ b/gcc/config/riscv/vector.md
@@ -219,26 +219,6 @@ 
 	 (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,vste,vimov,vfmov,vlds")