[flang-commits] [flang] [flang] add support for procedure pointer assignment inside FORALL (PR #130114)
via flang-commits
flang-commits at lists.llvm.org
Thu Mar 6 08:55:08 PST 2025
================
@@ -82,6 +82,17 @@ inline bool isPolymorphicType(mlir::Type type) {
return fir::isPolymorphicType(type);
}
+/// Is this the FIR type of a Fortran procedure pointer?
+inline bool isFortranProcedurePointerType(mlir::Type type) {
----------------
jeanPerier wrote:
Not really, but HLFIR predicate names tends to use Fortran concepts, I find it easier to read/understand `isFortranProcedurePointerType` in lowering from the parse tree rather than to get that `fir::isBoxProcAddressType` implies that we are talking about procedure pointers because that is how they are implemented.
https://github.com/llvm/llvm-project/pull/130114
More information about the flang-commits
mailing list