[PATCH] D146839: [TLI][AArch64] Extend SLEEF vectorized functions mapping with VLA functions

Sander de Smalen via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 28 09:42:46 PDT 2023


sdesmalen added inline comments.


================
Comment at: llvm/include/llvm/Analysis/VecFuncs.def:697
 #undef TLI_DEFINE_SLEEFGNUABI_VF4_VECFUNCS
+#undef TLI_DEFINE_SLEEFGNUABI_SCALABLE_VECFUNCS
 #undef TLI_DEFINE_MASSV_VECFUNCS_NAMES
----------------
Does this need:

  #undef MASKED
  #undef NOMASK

?


================
Comment at: llvm/lib/Analysis/TargetLibraryInfo.cpp:1184
 #define TLI_DEFINE_SLEEFGNUABI_VF2_VECFUNCS
+#define TLI_DEFINE_VECFUNC(SCAL, VEC, VF) {SCAL, VEC, VF, NOMASK},
 #include "llvm/Analysis/VecFuncs.def"
----------------
When you #undef MASK/NOMASK in the .def file, this needs changing to something like:

  /*MASK=*/false


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D146839



More information about the llvm-commits mailing list