[all-commits] [llvm/llvm-project] d576f4: [MLIR][OpenMP] Added parseClauses

Shraiysh via All-commits all-commits at lists.llvm.org
Tue Oct 19 05:01:55 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d576f4501439860faa95e4f3b782cd6da5123ef1
      https://github.com/llvm/llvm-project/commit/d576f4501439860faa95e4f3b782cd6da5123ef1
  Author: Shraiysh Vaishay <Shraiysh.Vaishay at amd.com>
  Date:   2021-10-19 (Tue, 19 Oct 2021)

  Changed paths:
    M mlir/include/mlir/Dialect/OpenMP/OpenMPOps.td
    M mlir/lib/Dialect/OpenMP/IR/OpenMPDialect.cpp
    M mlir/test/Dialect/OpenMP/invalid.mlir

  Log Message:
  -----------
  [MLIR][OpenMP] Added parseClauses

Code reorganized in OpenMPDialect.cpp to have all functions corresponding to an operation together.

Added parseClauses function to avoid code duplication while parsing clauses in OpenMP operations. Also added printers and verifiers for clauses, which are being used for multiple operations.

Reviewed By: kiranchandramohan, peixin

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




More information about the All-commits mailing list