[llvm] [VFABI] Create FunctionType for vector functions (PR #75058)

Paul Walker via llvm-commits llvm-commits at lists.llvm.org
Fri Dec 15 05:53:19 PST 2023


================
@@ -195,6 +195,13 @@ 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);
+
+/// Returns a vectorized FunctionType that was previously found in
----------------
paulwalker-arm wrote:

Whilst we know there's a link to TLI I don't think it's relevant to the function's description.  What about "Constructs a function type by applying vector function information to the type of a matching scalar function."?

https://github.com/llvm/llvm-project/pull/75058


More information about the llvm-commits mailing list