[flang-commits] [flang] [Flang] Add partial support for lowering procedure pointer assignment. (PR #70461)
via flang-commits
flang-commits at lists.llvm.org
Mon Nov 13 10:54:50 PST 2023
================
@@ -1158,6 +1181,7 @@ genUserCall(Fortran::lower::PreparedActualArguments &loweredActuals,
case PassBy::CharBoxValueAttribute:
case PassBy::Box:
case PassBy::BaseAddress:
+ case PassBy::BoxProcRef:
----------------
jeanPerier wrote:
No it would lead to the same LLVM as `fir.absent !fir.ref<!fir.boxproc<() -> ()>>`. I think you need to somehow create a `fir.emboxproc %null` (createNullBoxProc) in this case instead.
https://github.com/llvm/llvm-project/pull/70461
More information about the flang-commits
mailing list