On 3/27/24 4:14 PM, Vineet Gupta wrote:
Per classic Vector calling convention ABI, vtype is call clobbered,
so ensure gcc generates fresh a VSETVLI after a function call or an
inline asm which clobbers vtype.

ATM gcc seems to be doing the right thing, but a test can never be
harmful.

gcc/testsuite/ChangeLog:
        * gcc.target/riscv/rvv/vtype-call-clobbered.c: New Test.
OK
jeff

Reply via email to