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

Paul Walker via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 13 04:29:12 PST 2023


================
@@ -1477,6 +1479,34 @@ void VFABI::getVectorVariantNames(
   }
 }
 
+std::optional<std::pair<FunctionType *, int>>
+VFABI::createFunctionType(const VFInfo &Info, const FunctionType *ScalarFTy,
+                          Type *VecRetTy, const Module *M) {
----------------
paulwalker-arm wrote:

Shouldn't the return type of the vector function also be constructed from `ScalarFTy`?

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


More information about the llvm-commits mailing list