[PATCH] D77960: [mlir][IR] Manually register command line options for MLIRContext and AsmPrinter
River Riddle via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sat Apr 11 20:16:37 PDT 2020
rriddle created this revision.
rriddle added a reviewer: mehdi_amini.
Herald added subscribers: llvm-commits, frgossen, grosul1, Joonsoo, liufengdb, aartbik, lucyrfox, mgester, arpith-jacob, nicolasvasilache, antiagainst, shauheen, burmako, jpienaar.
Herald added a project: LLVM.
This revision makes the registration of command line options for these two files manual with `registerMLIRContextCLOptions` and `registerAsmPrinterCLOptions` methods. This removes the last remaining static constructors within lib/.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D77960
Files:
mlir/docs/Diagnostics.md
mlir/include/mlir/IR/AsmState.h
mlir/include/mlir/IR/MLIRContext.h
mlir/lib/IR/AsmPrinter.cpp
mlir/lib/IR/MLIRContext.cpp
mlir/lib/Pass/PassManagerOptions.cpp
mlir/test/IR/print-op-on-diagnostic.mlir
mlir/tools/mlir-opt/mlir-opt.cpp
mlir/tools/mlir-translate/mlir-translate.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D77960.256816.patch
Type: text/x-patch
Size: 20222 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200412/fe275d16/attachment.bin>
More information about the llvm-commits
mailing list