[all-commits] [llvm/llvm-project] 6486ab: [OpenACC] Add a map flag for the attach/detach cla...

Matsu via All-commits all-commits at lists.llvm.org
Thu Sep 17 16:08:10 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6486ab38c00159b3ded94ac2855a5b90311eb61d
      https://github.com/llvm/llvm-project/commit/6486ab38c00159b3ded94ac2855a5b90311eb61d
  Author: Matsu <47756807+khaki3 at users.noreply.github.com>
  Date:   2026-09-17 (Thu, 17 Sep 2026)

  Changed paths:
    M flang/test/Fir/OpenACC/acc-fir-map-info-prep-clauses.mlir
    M flang/test/Fir/OpenACC/acc-fir-map-info-prep-types.mlir
    M mlir/include/mlir/Dialect/OpenACC/OpenACCCGEnums.td
    M mlir/lib/Dialect/OpenACC/Utils/OpenACCUtilsCG.cpp
    M mlir/test/Conversion/OpenACCToLLVM/data-runtime.mlir
    M mlir/test/Conversion/OpenACCToLLVM/data.mlir

  Log Message:
  -----------
  [OpenACC] Add a map flag for the attach/detach clause (#224433)

Example:
```fortran
!$acc enter data create(arr)
p => arr(:,1)
!$acc enter data attach(p)
```

In this code, computeDataClauseMapFlags returns no flag for
acc_attach/detach, so the resulting acc.map_info is indistinguishable
from one formed for a create/delete of the target, and the clause itself
is gone by that point.

Fix: give the attach/detach clause its own map flag.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list