[all-commits] [llvm/llvm-project] 96b52c: [Clang][RISCV] Expose vlenb to user
Yueh-Ting (eop) Chen via All-commits
all-commits at lists.llvm.org
Tue Jan 10 02:23:59 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 96b52c1eec7b7952059a4cc4acd2f5e62e1ba1ca
https://github.com/llvm/llvm-project/commit/96b52c1eec7b7952059a4cc4acd2f5e62e1ba1ca
Author: eopXD <yueh.ting.chen at gmail.com>
Date: 2023-01-10 (Tue, 10 Jan 2023)
Changed paths:
M clang/include/clang/Basic/riscv_vector.td
A clang/test/CodeGen/RISCV/rvv-intrinsics/vlenb.c
Log Message:
-----------
[Clang][RISCV] Expose vlenb to user
This commit adds function `vlenb` into riscv_vector.h. `vlenb` is defined
through builtin function `__builtin_rvv_vlenb`, which is lowered to
`llvm.read_register`.
Reviewed By: kito-cheng, pcwang-thead
Differential Revision: https://reviews.llvm.org/D141032
More information about the All-commits
mailing list