RISC-V: Remove unit-stride store from ta attribute
authorJu-Zhe Zhong <juzhe.zhong@rivai.ai>
Wed, 14 Dec 2022 11:36:41 +0000 (19:36 +0800)
committerKito Cheng <kito.cheng@sifive.com>
Mon, 19 Dec 2022 14:23:32 +0000 (22:23 +0800)
Since store instructions doesn't care about tail policy, we remove
vste from "ta" attribute. Hence, we could have more fusion chances
and better optimization.

gcc/ChangeLog:

* config/riscv/vector.md: Remove vste.

gcc/config/riscv/vector.md

index 985373838bb0ee3d2e9bdf55ab70d23ee93c2f03..52ca6b3d25cd79d8ccf7f7c564bd7cf48777284d 100644 (file)
 
 ;; The tail policy op value.
 (define_attr "ta" ""
-  (cond [(eq_attr "type" "vlde,vste,vimov,vfmov,vlds")
+  (cond [(eq_attr "type" "vlde,vimov,vfmov,vlds")
           (symbol_ref "riscv_vector::get_ta(operands[5])")]
        (const_int INVALID_ATTRIBUTE)))