================
@@ -2284,7 +2284,7 @@ func.func @omp_target_exit_data_depend(%a: memref<?xi32>)
{
func.func @omp_target_update_invalid_motion_type(%map1 : memref<?xi32>) {
%mapv = omp.map.info var_ptr(%map1 : memref<?xi32>, tensor<?xi32>)
map_clauses(exit_release_or_enter_alloc) capture(ByRef) -> memref<?xi32> {name
= ""}
- // expected-error @below {{at least one of to or from map types must be
specified, other map types are not permitted}}
+ // expected-error @below {{at least one of to or from or attach map types
must be specified, other map types are not permitted}}
----------------
bhandarkar-pranav wrote:
Shouldn't we add a negative test that errors out because only one of
`var_ptr_ptr` and `var_ptr_ptr_type` is specified?
https://github.com/llvm/llvm-project/pull/177302
_______________________________________________
llvm-branch-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits