[all-commits] [llvm/llvm-project] 02834e: [mlir][ODS] Get rid of limitations in rewriters ge...

Vladislav Vinogradov via All-commits all-commits at lists.llvm.org
Thu Mar 18 02:23:30 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 02834e1bd94602bb3d1c603fd9fb874eb0e75290
      https://github.com/llvm/llvm-project/commit/02834e1bd94602bb3d1c603fd9fb874eb0e75290
  Author: Vladislav Vinogradov <vlad.vinogradov at intel.com>
  Date:   2021-03-18 (Thu, 18 Mar 2021)

  Changed paths:
    M mlir/include/mlir/TableGen/Format.h
    M mlir/lib/TableGen/Format.cpp
    M mlir/test/mlir-tblgen/rewriter-indexing.td
    M mlir/tools/mlir-tblgen/RewriterGen.cpp

  Log Message:
  -----------
  [mlir][ODS] Get rid of limitations in rewriters generator

Do not limit the number of arguments in rewriter pattern.

Introduce separate `FmtStrVecObject` class to handle
format of variadic `std::string` array.

Reviewed By: mehdi_amini

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




More information about the All-commits mailing list