[flang] Support polymorphic input array for PACK intrinsic
When `ARRAY` is polymorphic, the result needs to carry over the dynamic type information. This patch updates the lowering to make the result polymorphic when needed. Reviewed By: jeanPerier Differential Revision: https://reviews.llvm.org/D142432
Loading
Please sign in to comment