diff options
| author | Valentin Clement <clementval@gmail.com> | 2022-11-04 08:18:47 +0100 |
|---|---|---|
| committer | Valentin Clement <clementval@gmail.com> | 2022-11-04 08:20:08 +0100 |
| commit | de1aced75942eacd59ba46b131311a6bbbe4d0f2 (patch) | |
| tree | b8e075f84789a6de3f48d36c436b09556bd3cb22 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp | |
| parent | 4eea884959498b283335f18fc7899ba022bcb881 (diff) | |
[flang] Handle non derived-type unlimited polymorphic allocation
Runtime call to PointerNullifyDerived or AllocatableInitDerived
should only be generated for derived-type allocation of polymorphic entities.
With unlimited polymorphic entities, it is possible that the type spec is not
a derived-type. Avoid failure in that case.
Reviewed By: PeteSteinfeld
Differential Revision: https://reviews.llvm.org/D137353
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions
