[clang] [flang] [Flang] LoongArch64 support for BIND(C) derived types in mabi=lp64d. (PR #117108)
Lu Weining via cfe-commits
cfe-commits at lists.llvm.org
Wed Nov 27 23:22:24 PST 2024
================
@@ -1151,6 +1154,317 @@ struct TargetLoongArch64 : public GenericTarget<TargetLoongArch64> {
return GenericTarget::integerArgumentType(loc, argTy);
}
+
+ /// Flatten non-basic types, resulting in an array of types containing only
+ /// `IntegerType` and `FloatType`.
+ std::vector<mlir::Type> flattenTypeList(mlir::Location loc,
+ const mlir::Type type) const {
+ std::vector<mlir::Type> flatTypes;
----------------
SixWeining wrote:
Is it possible to use `llvm::SmallVector` instead as https://llvm.org/docs/CodingStandards.html#c-standard-library says?
https://github.com/llvm/llvm-project/pull/117108
More information about the cfe-commits
mailing list