[clang] [clang][CodeGen] Fix MSVC ABI for HVA/HFA returns with vectorcall on x86 (PR #113104)
via cfe-commits
cfe-commits at lists.llvm.org
Wed Oct 14 08:53:02 PDT 2026
================
@@ -1110,6 +1110,10 @@ static bool isTrivialForMSVC(const CXXRecordDecl *RD, QualType Ty,
isa<VectorType>(Base)) {
return true;
}
+ if (CGM.getTarget().getTriple().isX86() &&
+ CGM.getABIInfo().isHomogeneousAggregate(Ty, Base, NumElts)) {
----------------
kin4stat wrote:
@efriedma-quic up here
https://github.com/llvm/llvm-project/pull/113104
More information about the cfe-commits
mailing list