[all-commits] [llvm/llvm-project] 4265f7: [flang] Lower tbp dispatch calls for polymorphic a...
Valentin Clement (バレンタイン クレメン) via All-commits
all-commits at lists.llvm.org
Thu Oct 13 05:49:01 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 4265f78dd7c42e56dac5641a9f9c4d401ecfc092
https://github.com/llvm/llvm-project/commit/4265f78dd7c42e56dac5641a9f9c4d401ecfc092
Author: Valentin Clement <clementval at gmail.com>
Date: 2022-10-13 (Thu, 13 Oct 2022)
Changed paths:
M flang/include/flang/Optimizer/Dialect/FIROps.td
M flang/lib/Lower/ConvertVariable.cpp
M flang/lib/Optimizer/Builder/FIRBuilder.cpp
M flang/test/Lower/dispatch.f90
Log Message:
-----------
[flang] Lower tbp dispatch calls for polymorphic array element
When calling a type-bound procedure from a polymoprhic array element,
the dynamic type needs to be extracted from the array descriptor
and passed to the embox operation for the pass-object.
Depends on D135809
Reviewed By: jeanPerier
Differential Revision: https://reviews.llvm.org/D135856
More information about the All-commits
mailing list