[all-commits] [llvm/llvm-project] 621cbc: [mlir][acc] Adds attr to acc.present to identify d...

Atmn Patel via All-commits all-commits at lists.llvm.org
Mon Nov 24 10:15:22 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 621cbcde0161341494b546a1fb478cfd57d1a94f
      https://github.com/llvm/llvm-project/commit/621cbcde0161341494b546a1fb478cfd57d1a94f
  Author: Atmn Patel <atmnp at nvidia.com>
  Date:   2025-11-24 (Mon, 24 Nov 2025)

  Changed paths:
    M flang/test/Transforms/OpenACC/acc-implicit-data.fir
    M mlir/include/mlir/Dialect/OpenACC/OpenACC.h
    M mlir/lib/Dialect/OpenACC/Transforms/ACCImplicitData.cpp
    M mlir/test/Dialect/OpenACC/acc-implicit-data.mlir

  Log Message:
  -----------
  [mlir][acc] Adds attr to acc.present to identify default clause origin (#169114)

The `acc.present` Op as generated by ACCImplicitData does not provide a
way to differentiate between `acc.present` ops that are generated
implicitly and the ones that are generated as result of an explicit
`default(present)` clause in the source code. This differentiation would
allow for better communication to the user on the decisions made by the
compiler while managing data automatically between the host and the
device. This commit adds this information as a discardable attribute on
the `acc.present` op.



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