[RISCV] Add vread_csr and vwrite_csr to riscv_vector.h
These two functions are described in RVV intrinsics doc to read/write RVV CSRs. This matches what GCC does. This reapply aebe24a8 which was reverted in 0f6f4295 due to missing REQUIRES in tests. Reviewed By: craig.topper Differential Revision: https://reviews.llvm.org/D125875
Loading
Please sign in to comment