NULL() passed as actual argument to a procedure with an optional
dummy argument is represented with fir.box<none> type. When the dummy
argument is polymoprhic or unlimited polymorphic, the SelectOp will complain
if the types of the two arguments are not identical. Add a conversion from
fir.box<none> to fir.class<none> in that case.
Other situations with optional will require a fir.rebox and will be done in
a follow up patch.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo