[flang-commits] [openmp] [mlir] [flang] [Flang][OpenMP] Initial mapping of Fortran pointers and allocatables for target devices (PR #71766)
Akash Banerjee via flang-commits
flang-commits at lists.llvm.org
Fri Jan 12 07:06:02 PST 2024
================
@@ -313,6 +313,9 @@ bool isBoxNone(mlir::Type ty);
/// e.g. !fir.box<!fir.type<derived>>
bool isBoxedRecordType(mlir::Type ty);
+/// Return true iff `ty` is a type that contains descriptor information.
+bool isTypeWithDescriptor(mlir::Type ty);
----------------
TIFitis wrote:
Given this function might not see much use outside of the code added in this PR. Perhaps, we should have it as a local function/lambda instead?
If you feel like this is useful to have standalone, then we can keep it.
https://github.com/llvm/llvm-project/pull/71766
More information about the flang-commits
mailing list