[all-commits] [llvm/llvm-project] 6674e5: [mlir][openacc] Fix acc.declare attribute on opera...

Valentin Clement (バレンタイン クレメン) via All-commits all-commits at lists.llvm.org
Tue Jul 25 15:02:35 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6674e578b96195ef2fdb931dcdcb3fafbe7bd3dd
      https://github.com/llvm/llvm-project/commit/6674e578b96195ef2fdb931dcdcb3fafbe7bd3dd
  Author: Valentin Clement <clementval at gmail.com>
  Date:   2023-07-25 (Tue, 25 Jul 2023)

  Changed paths:
    M mlir/lib/Dialect/OpenACC/IR/OpenACC.cpp
    M mlir/test/Dialect/OpenACC/ops.mlir

  Log Message:
  -----------
  [mlir][openacc] Fix acc.declare attribute on operation

The attribute on operations in ops.mlir were not DeclareAttr but
DataClauseAttr with the acc.declare attribute name. Update the test
and the verifier to work correctly with the expected DeclareAttr.

Reviewed By: razvanlupusoru

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




More information about the All-commits mailing list