[flang-commits] [flang] [flang] Fix RecordType sizes, TRANSFER lowering, and BIND(C) ABI on SystemZ/PPC64le (PR #220377)
via flang-commits
flang-commits at lists.llvm.org
Thu Sep 10 01:27:13 PDT 2026
================
@@ -555,13 +555,52 @@ inline bool isRefOfConstantSizeAggregateType(mlir::Type t) {
std::string getTypeAsString(mlir::Type ty, const KindMapping &kindMap,
llvm::StringRef prefix = "");
-/// Return the size and alignment of FIR types.
+/// Return the allocation extent and ABI alignment of a FIR type.
----------------
MattPD wrote:
Doxygen attaches the allocation-size contract to `getTypeStoreSizeAndAlignment`, whose own documentation excludes tail padding.
Could the allocation-size block directly precede `getTypeSizeAndAlignment` instead? That placement keeps each generated contract with its intended function.
https://github.com/llvm/llvm-project/pull/220377
More information about the flang-commits
mailing list