[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
Fri Sep 4 23:33:37 PDT 2026
================
@@ -0,0 +1,67 @@
+! RUN: %flang_fc1 -triple x86_64-unknown-linux-gnu -emit-hlfir %s -o - | FileCheck %s
+! REQUIRES: x86-registered-target
+
+! Regression test for https://github.com/llvm/llvm-project/pull/220377
+!
+! The TRANSFER inline gate compares store sizes, not allocation sizes.
+! Tail padding must not be included in the comparison.
+!
+! Types declared at module scope so that bare %flang_fc1 does not abort when
----------------
MattPD wrote:
Confirmed that the complete source file reaches LLVM lowering with the intrinsic-module search path used by lit. The runtime `TRANSFER` case still emits `fir.embox`.
https://github.com/llvm/llvm-project/pull/220377
More information about the flang-commits
mailing list