[all-commits] [llvm/llvm-project] 391517: [mlir][OpenMP] Added assemblyFormat for ParallelOp

Shraiysh via All-commits all-commits at lists.llvm.org
Fri Feb 18 20:59:15 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 39151717dbb494463cda59fe5d776870816790ce
      https://github.com/llvm/llvm-project/commit/39151717dbb494463cda59fe5d776870816790ce
  Author: Shraiysh Vaishay <Shraiysh.Vaishay at amd.com>
  Date:   2022-02-19 (Sat, 19 Feb 2022)

  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
    M mlir/test/Dialect/OpenMP/ops.mlir

  Log Message:
  -----------
  [mlir][OpenMP] Added assemblyFormat for ParallelOp

This patch adds assemblyFormat for omp.parallel operation.

Some existing functions have been altered to fit the custom directive
in assemblyFormat. This has led to their callsites to get modified too,
but those will be removed in later patches, when other operations get
their assemblyFormat. All operations were not changed in one patch for
ease of review.

Reviewed By: Mogball

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




More information about the All-commits mailing list