[flang] Lower TYPE(*) as fir.box<none>
authorValentin Clement <clementval@gmail.com>
Tue, 4 Oct 2022 19:29:28 +0000 (21:29 +0200)
committerValentin Clement <clementval@gmail.com>
Tue, 4 Oct 2022 19:30:09 +0000 (21:30 +0200)
commit3eef2c2b1383a5a4ce20f0c92bf7d31537f87705
treec9994d0120771d52e65f779d4cca185033607e50
parentcebec4208982dccb70e724e38fca72823652ec76
[flang] Lower TYPE(*) as fir.box<none>

This patch lowers `TYPE(*)` correctly to fir.box<none>.

Reviewed By: jeanPerier

Differential Revision: https://reviews.llvm.org/D135141
flang/docs/PolymorphicEntities.md
flang/include/flang/Optimizer/Dialect/FIRType.h
flang/include/flang/Semantics/tools.h
flang/lib/Lower/CallInterface.cpp
flang/lib/Semantics/tools.cpp
flang/test/Lower/polymorphic-types.f90