[llvm-branch-commits] [flang] [mlir] [Flang][MLIR][OpenMP] Add distinct var_ptr_ptr_type to omp.map.info operations (PR #177302)
Pranav Bhandarkar via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Mon Jan 26 21:51:16 PST 2026
================
@@ -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
More information about the llvm-branch-commits
mailing list