[flang] Load unlimited polymorphic box the same way as other
authorValentin Clement <clementval@gmail.com>
Tue, 10 Jan 2023 19:57:39 +0000 (20:57 +0100)
committerValentin Clement <clementval@gmail.com>
Tue, 10 Jan 2023 19:58:49 +0000 (20:58 +0100)
commit69bbcdd0aba9bbfad8957860e24a792b85017146
tree7492f135742c1129496cdf77ddcb43048d825413
parent1fbbf92e4fda3c7a3be1c02e1f7240135557846d
[flang] Load unlimited polymorphic box the same way as other

Unlimited polymorphic descriptor have a set size and can be loaded the
same way as polymorphic or monomorphic descriptors. The descriptor
code gen as been set in D138587.
Of course, the data hold by those descriptors have an unknown size
at compile time.

Depends on D141383

Reviewed By: jeanPerier, PeteSteinfeld

Differential Revision: https://reviews.llvm.org/D141390
flang/lib/Optimizer/CodeGen/CodeGen.cpp
flang/test/Fir/polymorphic.fir