[PATCH] D92715: [Clang][RISCV] Define RISC-V V builtin types

Liao Chunyu via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Dec 7 03:17:13 PST 2020


liaolucy added inline comments.


================
Comment at: clang/include/clang/Basic/RISCVVTypes.def:67
+RVV_VECTOR_TYPE_INT("__rvv_int8m2_t",  RvvInt8m2,  RvvInt8m2Ty,  16,  8, 1, true)
+RVV_VECTOR_TYPE_INT("__rvv_int8m4_t",  RvvInt8m4,  RvvInt8m4Ty,  32,  8, 1, true)
+RVV_VECTOR_TYPE_INT("__rvv_int8m8_t",  RvvInt8m8,  RvvInt8m8Ty,  64,  8, 1, true)
----------------
RISC-V V has too many types, more than 200. All types use builtin types? Is it possible to reduce the number of builtin types?


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

https://reviews.llvm.org/D92715



More information about the cfe-commits mailing list