[flang-commits] [flang] [flang][acc] Implement type categorization for FIR types (PR #126964)
Valentin Clement バレンタイン クレメン via flang-commits
flang-commits at lists.llvm.org
Wed Feb 12 13:28:57 PST 2025
================
@@ -224,4 +226,157 @@ OpenACCMappableModel<fir::BaseBoxType>::generateAccBounds(
return {};
}
+static bool isScalarLike(mlir::Type type) {
+ return type.isIntOrIndexOrFloat() ||
+ mlir::isa<mlir::ComplexType, fir::LogicalType>(type) ||
+ fir::isa_ref_type(type);
----------------
clementval wrote:
fir::isa_trivial?
https://github.com/llvm/llvm-project/pull/126964
More information about the flang-commits
mailing list