aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/util/rust-attributes.h
diff options
context:
space:
mode:
authorJun Sha (Joshua) <cooper.joshua@linux.alibaba.com>2023-12-29 12:10:44 +0800
committerChristoph Müllner <christoph.muellner@vrull.eu>2024-01-02 20:37:19 +0100
commit152cd65bf468c378e1e06ac72e443453137034b5 (patch)
tree31603270b2b39e29256cd57dcae43042efe31c97 /gcc/rust/util/rust-attributes.h
parentae11ee8f85c359714a15d234a577486acb8e8987 (diff)
downloadgcc-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