[all-commits] [llvm/llvm-project] a073bb: [mlir][acc] Add LegalizeDataValues support for Dec...

Susan Tan (ス-ザン タン) via All-commits all-commits at lists.llvm.org
Thu May 1 13:46:56 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a073bb5afdb8715429d98ea80ecdef1390fb4962
      https://github.com/llvm/llvm-project/commit/a073bb5afdb8715429d98ea80ecdef1390fb4962
  Author: Susan Tan (ス-ザン タン) <zujunt at nvidia.com>
  Date:   2025-05-01 (Thu, 01 May 2025)

  Changed paths:
    M mlir/lib/Dialect/OpenACC/Transforms/LegalizeDataValues.cpp
    M mlir/test/Dialect/OpenACC/legalize-data.mlir

  Log Message:
  -----------
  [mlir][acc] Add LegalizeDataValues support for DeclareEnterOp (#138008)

The patch extends the existing LegalizeDataValues to support
DeclareEnter and DeclareExit pair.
Since unlike other ops, DeclareEnter and DeclareExit don't have a region
defined, we use dominance/post dominance information to ensure only the
uses within the region dominated by DeclareEnter and post dominated by
DeclareExit are updated with data on device.



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