================ @@ -0,0 +1,26 @@ +#include "llvm/ABI/ABIInfo.h" + +using namespace llvm::abi; +bool ABIInfo::isAggregateTypeForABI(const Type *Ty) const { + // Member pointers are always aggregates + if (Ty->isMemberPointer()) + return true; + + // Check for fundamental scalar types + if (Ty->isInteger() || Ty->isFloat() || Ty->isPointer()) ---------------- nikic wrote:
Vectors are non-aggregate also, right? https://github.com/llvm/llvm-project/pull/140112 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits