[all-commits] [llvm/llvm-project] 9e5b2f: [flang][runtime] Preserve type when remapping mono...
Peter Klausler via All-commits
all-commits at lists.llvm.org
Fri Jul 18 13:45:26 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 9e5b2fbe86ed9b303eff779fff012d6a96574f3d
https://github.com/llvm/llvm-project/commit/9e5b2fbe86ed9b303eff779fff012d6a96574f3d
Author: Peter Klausler <pklausler at nvidia.com>
Date: 2025-07-18 (Fri, 18 Jul 2025)
Changed paths:
M flang-rt/include/flang-rt/runtime/descriptor.h
M flang-rt/lib/runtime/descriptor.cpp
M flang-rt/lib/runtime/pointer.cpp
M flang/include/flang/Lower/Runtime.h
M flang/include/flang/Optimizer/Builder/Runtime/Intrinsics.h
M flang/include/flang/Runtime/pointer.h
M flang/lib/Lower/Bridge.cpp
M flang/lib/Lower/Runtime.cpp
M flang/test/Lower/polymorphic.f90
Log Message:
-----------
[flang][runtime] Preserve type when remapping monomorphic pointers (#149427)
Pointer remappings unconditionally update the element byte size and
derived type of the pointer's descriptor. This is okay when the pointer
is polymorphic, but not when a pointer is associated with an extended
type.
To communicate this monomorphic case to the runtime, add a new entry
point so as to not break forward binary compatibility.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list