[all-commits] [llvm/llvm-project] ddc90d: [mlir] Printing oilist element

Shraiysh via All-commits all-commits at lists.llvm.org
Mon Mar 21 22:18:21 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ddc90da478483437f26b4e27f8561cf37436a129
      https://github.com/llvm/llvm-project/commit/ddc90da478483437f26b4e27f8561cf37436a129
  Author: Shraiysh Vaishay <Shraiysh.Vaishay at amd.com>
  Date:   2022-03-22 (Tue, 22 Mar 2022)

  Changed paths:
    M mlir/include/mlir/Dialect/OpenMP/OpenMPOps.td
    M mlir/test/IR/traits.mlir
    M mlir/test/lib/Dialect/Test/TestOps.td
    M mlir/tools/mlir-tblgen/OpFormatGen.cpp

  Log Message:
  -----------
  [mlir] Printing oilist element

This patch attempts to deduce when the oilist element must be printed
based on the optional arguments to it. This especially helps creating
an operation accurately because with the current implementation, the
inferred unit attributes must be manually added to print the clauses
appropriately.

Reviewed By: Mogball

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




More information about the All-commits mailing list