[PATCH] D100611: [RISCV] Add new attribute __clang_riscv_builtin_alias for intrinsics.
Hsiangkai Wang via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Apr 20 04:46:36 PDT 2021
HsiangKai marked an inline comment as done.
HsiangKai added inline comments.
================
Comment at: clang/include/clang/Basic/AttrDocs.td:2141
+in RVV builtins, and still be recognized as clang builtins equivalent to the
+underlying name. For example, ``riscv_vector.h`` declares the function ``vget`` with
+``__attribute__((__clang_riscv_builtin_alias(__builtin_rvv_vget_i8mf8x2_i8mf8)))``.
----------------
frasercrmck wrote:
> Is `vget` real? I can't see it in `riscv_vector.h`
Yes, it is for Zvlsseg. I have not upstreamed it. I use `vadd` instead in the description.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D100611/new/
https://reviews.llvm.org/D100611
More information about the cfe-commits
mailing list