================
@@ -91,3 +91,216 @@ func.func 
@test_nested_derived_type_map_operand_and_block_addition(%arg0: !fir.r
 // CHECK:   %[[MAP_MEMBER_2:.*]] = omp.map.info var_ptr(%{{.*}} : 
!fir.ref<f32>, f32) map_clauses(tofrom) capture(ByRef) -> !fir.ref<f32> {name = 
"sa%n%r"}
 // CHECK:   %[[MAP_PARENT:.*]] = omp.map.info var_ptr(%{{.*}} : {{.*}}, 
{{.*}}) map_clauses(tofrom) capture(ByRef) members(%[[MAP_MEMBER_1]], 
%[[MAP_MEMBER_2]] : [1,0], [1,1] : !fir.ref<i32>, !fir.ref<f32>) -> {{.*}} 
{name = "sa", partial_map = true}
 // CHECK:   omp.target map_entries(%[[MAP_MEMBER_1]] -> %[[ARG1:.*]], 
%[[MAP_MEMBER_2]] -> %[[ARG2:.*]], %[[MAP_PARENT]] -> %[[ARG3:.*]] : 
!fir.ref<i32>, !fir.ref<f32>, {{.*}}) {
+
+// -----
+
+module attributes {omp.is_target_device = false} {
----------------
skatrak wrote:

Nit: Is this needed for this test case specifically? If so, that's fine, I'm 
only pointing it out because none of the others below have it.

https://github.com/llvm/llvm-project/pull/111192
_______________________________________________
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

Reply via email to