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
Paths
| Differential D89474
[DO NOT COMMIT][mlir] modernizer for ODS OpBuilder syntax AbandonedPublic Authored by ftynse on Oct 15 2020, 8:00 AM.
Details
Summary This is a temporary tool to update the syntax of OpBuilder in ODS so that it Usage: mlir-tblgen-modernize filename.td
Diff Detail
Unit TestsFailed
Event TimelineHerald added projects: Restricted Project, Restricted Project. · View Herald TranscriptOct 15 2020, 8:00 AM Herald added subscribers: llvm-commits, rdzhabarov, tatianashp and 16 others. · View Herald Transcript Herald added subscribers: stephenneuendorffer, nicolasvasilache. · View Herald TranscriptOct 15 2020, 8:00 AM
Revision Contents
Diff 300976 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
|
clang-format suggested style edits found: