[clang] [llvm] [WIP] ABI Lowering Library (PR #140112)
Nikita Popov via llvm-commits
llvm-commits at lists.llvm.org
Thu Jul 24 05:58:34 PDT 2025
================
@@ -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
More information about the llvm-commits
mailing list