[PATCH] D75470: [SVE] Auto-generate builtins and header for svld1.

Mikhail Maltsev via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Mar 9 10:14:14 PDT 2020


miyuki added a comment.

In D75470#1910071 <https://reviews.llvm.org/D75470#1910071>, @sdesmalen wrote:

> The SVE implementation now does more or less the same thing the MVE implementation; `arm_sve.h` also uses `__attribute__((overloadable))` and `__attribute__((arm_sve_alias("__builtin_...")))`, the latter only to declare the overloaded intrinsics. That means we get the same benefits as Simon described.


FYI: we are currently working on another M-profile extension, CDE. In my patches am reusing some of the MVE intrinsic machinery, and I decided to rename `__clang_arm_mve_alias` to `__clang_arm_builtin_alias`. You might want to reuse the same attribute name to reduce duplication, see https://reviews.llvm.org/D75850


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D75470/new/

https://reviews.llvm.org/D75470





More information about the cfe-commits mailing list