[flang-commits] [flang] [flang][OpenMP] Don't emit implicit default mapper for flat allocatable derived types (PR #209645)

via flang-commits flang-commits at lists.llvm.org
Tue Jul 14 18:51:55 PDT 2026


================
@@ -1,6 +1,10 @@
 !RUN: %flang_fc1 -emit-hlfir -fopenmp %s -o - | FileCheck %s
 
-!CHECK: omp.declare_mapper @[[MAPPER1:_QQFmaptype_derived_implicit_allocatablescalar_and_array_omp_default_mapper]] : !fir.type<_QFmaptype_derived_implicit_allocatableTscalar_and_array{real:f32,array:!fir.array<10xi32>,int:i32}> {
+! "scalar_and_array" is a flat derived type (no allocatable/pointer/nested-record
----------------
agozillon wrote:

Same as above, probably not a required comment

https://github.com/llvm/llvm-project/pull/209645


More information about the flang-commits mailing list