[llvm] [LV] Add initial support for vectorizing literal struct return values (PR #109833)

Benjamin Maxwell via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 9 02:18:54 PST 2024


================
@@ -566,7 +570,7 @@ FunctionType *VFABI::createFunctionType(const VFInfo &Info,
 
   auto *RetTy = ScalarFTy->getReturnType();
   if (!RetTy->isVoidTy())
-    RetTy = VectorType::get(RetTy, VF);
+    RetTy = ToWideTy(RetTy, VF);
----------------
MacDue wrote:

Split off the VFABI changes (and some helpers) into #119000 :+1: 

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


More information about the llvm-commits mailing list