[all-commits] [llvm/llvm-project] c1e4e0: [mlir][OpenMP] Added assemblyFormat for SectionsOp

Shraiysh via All-commits all-commits at lists.llvm.org
Sun Feb 20 23:32:09 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c1e4e019454b38e3890589be977a3c2c445fefd1
      https://github.com/llvm/llvm-project/commit/c1e4e019454b38e3890589be977a3c2c445fefd1
  Author: Shraiysh Vaishay <Shraiysh.Vaishay at amd.com>
  Date:   2022-02-21 (Mon, 21 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 SectionsOp

This patch adds assemblyFormat for omp.sections 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/D120176




More information about the All-commits mailing list