[flang-commits] [flang] [llvm] [flang-rt] - Lightweight runtime assignment function (AssignSimple) for intrinsic-type assignments (PR #213704)

Tom Eccles via flang-commits flang-commits at lists.llvm.org
Fri Aug 7 02:44:49 PDT 2026


tblah wrote:

> Also, as flang is now inlining a lot of the intrinsic type assignments at compile time, perhaps FortranAAssign itself could go through some trimming so that it handles only derived types, which would be the exact complement of _FortranAAssignSimple ;-)

Not a bad idea. I wonder what the response would be to an RFC to enable the inlining unconditionally and retain the runtime  call only for these more complex cases. Nobody noticed and complained about code size bugs when the inlining was added at -O1-3.

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


More information about the flang-commits mailing list