[clang] [Sparc][clang] Match GCC's SPARC V8 vector return convention (PR #222264)

Daniel Cederman via cfe-commits cfe-commits at lists.llvm.org
Wed Sep 23 06:35:08 PDT 2026


================
@@ -71,6 +71,18 @@ ABIArgInfo SparcV8ABIInfo::classifyReturnType(QualType Ty) const {
   if (const auto *CT = Ty->getAs<ComplexType>())
     return classifyComplexType(CT, /*IsRet=*/true);
 
+  if (const auto *VT = Ty->getAs<VectorType>()) {
+    uint64_t Size = getContext().getTypeSize(Ty);
----------------
doac wrote:

Added the comment. Thanks!

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


More information about the cfe-commits mailing list