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

Sjoerd Meijer via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Mar 9 14:35:43 PDT 2020


SjoerdMeijer added inline comments.


================
Comment at: clang/lib/CodeGen/CGBuiltin.cpp:5292
+  { #NameBase, SVE::BI__builtin_sve_##NameBase, 0, 0, TypeModifier }
+static const NeonIntrinsicInfo AArch64SVEIntrinsicMap[] = {
+#define GET_SVE_LLVM_INTRINSIC_MAP
----------------
I am wondering if it is confusing/correct to use NeonInstrinsicInfo here?


================
Comment at: clang/lib/CodeGen/CGBuiltin.cpp:7456
+
+  auto *Builtin = findNeonIntrinsicInMap(AArch64SVEIntrinsicMap, BuiltinID,
+                                         AArch64SVEIntrinsicsProvenSorted);
----------------
and the same here: findNeon...


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

https://reviews.llvm.org/D75470





More information about the cfe-commits mailing list