Skip to content
Snippets Groups Projects
Commit 152cd65b authored by Jun Sha (Joshua)'s avatar Jun Sha (Joshua) Committed by Christoph Müllner
Browse files

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: default avatarJin Ma <jinma@linux.alibaba.com>
Co-authored-by: default avatarXianmiao Qu <cooper.qu@linux.alibaba.com>
Co-authored-by: default avatarChristoph Müllner <christoph.muellner@vrull.eu>
parent ae11ee8f
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment