[PATCH] D89474: [DO NOT COMMIT][mlir] modernizer for ODS OpBuilder syntax

Alex Zinenko via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 15 08:00:09 PDT 2020


ftynse created this revision.
Herald added subscribers: llvm-commits, rdzhabarov, tatianashp, msifontes, jurahul, Kayjukh, grosul1, Joonsoo, liufengdb, aartbik, lucyrfox, mgester, arpith-jacob, antiagainst, shauheen, rriddle, mehdi_amini, hiraditya, mgorny.
Herald added projects: MLIR, LLVM.
ftynse requested review of this revision.
Herald added subscribers: stephenneuendorffer, nicolasvasilache.

This is a temporary tool to update the syntax of OpBuilder in ODS so that it
uses the dag-based version. It is based on a relatively simple parser and
formatter, which may require minor manual corrections.

Usage: mlir-tblgen-modernize filename.td


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D89474

Files:
  llvm/include/llvm/TableGen/Parser.h
  llvm/lib/TableGen/TGParser.cpp
  mlir/include/mlir/Dialect/LLVMIR/LLVMOps.td
  mlir/tools/CMakeLists.txt
  mlir/tools/mlir-tblgen-modernize/CMakeLists.txt
  mlir/tools/mlir-tblgen-modernize/mlir-tblgen-modernize.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D89474.298387.patch
Type: text/x-patch
Size: 12446 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201015/28347351/attachment.bin>


More information about the llvm-commits mailing list