[llvm-branch-commits] [flang] [Flang][OpenMP] Derived type explicit allocatable member mapping (PR #96266)

Kareem Ergawy via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Sun Jul 14 22:56:34 PDT 2024


================
@@ -30,17 +30,17 @@ subroutine mapType_array
   !$omp end target
 end subroutine mapType_array
 
-!CHECK: @.offload_sizes{{.*}} = private unnamed_addr constant [3 x i64] [i64 0, i64 24, i64 4]
-!CHECK: @.offload_maptypes{{.*}} = private unnamed_addr constant [3 x i64] [i64 32, i64 281474976710657, i64 281474976711187]
+!CHECK: @.offload_sizes{{.*}} = private unnamed_addr constant [4 x i64] [i64 0, i64 24, i64 8, i64 4]
----------------
ergawy wrote:

The test fails on my machine on that line. Does it do the same for you as well?

In general, it would be nice to have comments before each `CHECK` line to explain these magic numbers; why is 3 or 4 or whatever.

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


More information about the llvm-branch-commits mailing list