[all-commits] [llvm/llvm-project] 132c37: [openacc] Add attribute to hold declare data claus...

Razvan Lupusoru via All-commits all-commits at lists.llvm.org
Wed Jul 19 07:55:26 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 132c376a337e0001e997714bd8e8a69944861d86
      https://github.com/llvm/llvm-project/commit/132c376a337e0001e997714bd8e8a69944861d86
  Author: Razvan Lupusoru <rlupusoru at nvidia.com>
  Date:   2023-07-19 (Wed, 19 Jul 2023)

  Changed paths:
    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/test/Dialect/OpenACC/ops.mlir

  Log Message:
  -----------
  [openacc] Add attribute to hold declare data clause information

For variables in declare clauses, their producing operation should be
marked with the data clause for ease of lookup and consistency
verification. Thus add an attribute that can be used for this purpose
plus verification that declare data operation matches the declare
data clause on variable.

Reviewed By: clementval

Differential Revision: https://reviews.llvm.org/D155640




More information about the All-commits mailing list