On 12/20/23 05:27, Jun Sha (Joshua) wrote:
This patch splits the definition of csr_operand in predicates.md.
The newly defined vector_csr_operand has the same functionality
as csr_operand but can only be used in vector patterns, so that
changes for vector will not affect scalar patterns in files
like riscv.md.

gcc/ChangeLog:

        * config/riscv/predicates.md (vector_csr_operand):
        Define vector_csr_opeand for vector.
        * config/riscv/vector.md:
        Use newly defined csr_operand for vector.
So do you envision changing something in vector_csr_operand? If not, then this doesn't make much sense.

Jeff

Reply via email to