[all-commits] [llvm/llvm-project] 4bdc90: [openacc] Add implicit flag to declare attribute

Razvan Lupusoru via All-commits all-commits at lists.llvm.org
Tue Aug 29 13:14:23 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4bdc9057e971f0d12b71d46b2a2a36873533025d
      https://github.com/llvm/llvm-project/commit/4bdc9057e971f0d12b71d46b2a2a36873533025d
  Author: Razvan Lupusoru <rlupusoru at nvidia.com>
  Date:   2023-08-29 (Tue, 29 Aug 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 implicit flag to declare attribute

The declare attribute has been updated to allow implicit flag. This is
useful for variables that can be declare'd implicitly - like global
constants. The verifier has been updated to ensure that an implicit
declare'd variable has an implicit data action. The builder doesn't
require for this flag to be set so any code creating this attribute
will continue to work as-is.

Reviewed By: vzakhari

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




More information about the All-commits mailing list