[PATCH] D141032: [Clang][RISCV] Expose vlenb to user
Yueh-Ting (eop) Chen via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Jan 5 00:17:39 PST 2023
eopXD marked an inline comment as done.
eopXD added inline comments.
================
Comment at: clang/include/clang/Basic/riscv_vector.td:1559
__asm__ __volatile__ ("csrw\tvcsr, %z0" : : "rJ"(__value) : "memory");
break;
}
----------------
pcwang-thead wrote:
> Should we report errors if `vwrite_csr(RVV_VLENB, some_value)`?
Thanks pointing this out. I think my second approach here won't create such problem.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D141032/new/
https://reviews.llvm.org/D141032
More information about the cfe-commits
mailing list