[llvm] [VFABI] Create FunctionType for vector functions (PR #75058)
Maciej Gabka via llvm-commits
llvm-commits at lists.llvm.org
Mon Dec 18 07:36:10 PST 2023
================
@@ -195,6 +195,11 @@ static constexpr char const *MappingsAttrName = "vector-function-abi-variant";
/// the presence of the attribute (see InjectTLIMappings).
void getVectorVariantNames(const CallInst &CI,
SmallVectorImpl<std::string> &VariantMappings);
+
+/// Constructs a FunctionType by applying vector function information to the
+/// type of a matching scalar function.
+FunctionType *createFunctionType(const VFInfo &Info,
----------------
mgabka wrote:
nit: since this is going to be publicly available interface, I think it is worth to use doxygen style to document the parmeters.
https://github.com/llvm/llvm-project/pull/75058
More information about the llvm-commits
mailing list