diff options
author | Jun Sha (Joshua) <cooper.joshua@linux.alibaba.com> | 2023-12-29 12:10:44 +0800 |
---|---|---|
committer | Christoph Müllner <christoph.muellner@vrull.eu> | 2024-01-02 20:37:19 +0100 |
commit | 152cd65bf468c378e1e06ac72e443453137034b5 (patch) | |
tree | 31603270b2b39e29256cd57dcae43042efe31c97 /gcc/rust/util/rust-attributes.h | |
parent | ae11ee8f85c359714a15d234a577486acb8e8987 (diff) | |
download | gcc-152cd65bf468c378e1e06ac72e443453137034b5.zip gcc-152cd65bf468c378e1e06ac72e443453137034b5.tar.gz gcc-152cd65bf468c378e1e06ac72e443453137034b5.tar.bz2 |
RISC-V: Use vector_length_operand instead of csr_operand in vsetvl patterns
This patch replaces csr_operand by vector_length_operand in the vsetvl
patterns. This allows future changes in the vector code (i.e. in the
vector_length_operand predicate) without affecting scalar patterns that
use the csr_operand predicate.
gcc/ChangeLog:
* config/riscv/vector.md:
Use vector_length_operand for vsetvl patterns.
Co-authored-by: Jin Ma <jinma@linux.alibaba.com>
Co-authored-by: Xianmiao Qu <cooper.qu@linux.alibaba.com>
Co-authored-by: Christoph Müllner <christoph.muellner@vrull.eu>
Diffstat (limited to 'gcc/rust/util/rust-attributes.h')
0 files changed, 0 insertions, 0 deletions