[all-commits] [llvm/llvm-project] f36543: [mlir][acc] Add a synthetic flag to the data claus...

Slava Zakharin via All-commits all-commits at lists.llvm.org
Tue Sep 22 13:30:19 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f36543bf2de3467dc281dbd8e6ec535333746bf6
      https://github.com/llvm/llvm-project/commit/f36543bf2de3467dc281dbd8e6ec535333746bf6
  Author: Slava Zakharin <szakharin at nvidia.com>
  Date:   2026-09-22 (Tue, 22 Sep 2026)

  Changed paths:
    M flang/lib/Optimizer/OpenACC/Transforms/ACCUseDeviceCanonicalizer.cpp
    M mlir/include/mlir/Dialect/OpenACC/OpenACC.h
    M mlir/include/mlir/Dialect/OpenACC/OpenACCOps.td
    M mlir/lib/Dialect/OpenACC/IR/OpenACC.cpp
    M mlir/lib/Dialect/OpenACC/Transforms/ACCEmitRemarksData.cpp
    M mlir/test/Dialect/OpenACC/acc-emit-remarks-data.mlir
    M mlir/test/Dialect/OpenACC/ops.mlir

  Log Message:
  -----------
  [mlir][acc] Add a synthetic flag to the data clause operations (#225213)

An implementation may create a data clause operation for its own
bookkeeping rather than to represent a data attribute of the program
being compiled. Such an operation has no counterpart in that program, so
describing it to the user is at best confusing and at worst a duplicate
of the clause it was created to support.

Add a `synthetic` unit attribute that marks these operations, a
`getSyntheticFlag` accessor next to `getImplicitFlag`, and have
acc-emit-remarks-data skip the operations that carry it.

Assisted-by: Cursor



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