[flang-commits] [flang] [flang] Fix RecordType sizes, TRANSFER lowering, and BIND(C) ABI on SystemZ/PPC64le (PR #220377)

Daniel Chen via flang-commits flang-commits at lists.llvm.org
Tue Sep 15 13:09:24 PDT 2026


================
@@ -1653,7 +1654,8 @@ fir::getTypeSizeAndAlignment(mlir::Location loc, mlir::Type ty,
     // Dynamic / unknown shapes have no compile-time byte size.
     if (seqTy.hasDynamicExtents() || seqTy.hasUnknownShape())
       return std::nullopt;
-    auto result = getTypeSizeAndAlignment(loc, seqTy.getEleTy(), dl, kindMap);
+    auto result = getTypeSizeAndAlignmentImpl(loc, seqTy.getEleTy(), dl,
+                                              kindMap, storeSizeOnly);
----------------
DanielCChen wrote:

Update: I will update the comments to make it clear.

https://github.com/llvm/llvm-project/pull/220377


More information about the flang-commits mailing list