[all-commits] [llvm/llvm-project] 8938de: [mlir][IR] Manually register command line options ...

River Riddle via All-commits all-commits at lists.llvm.org
Sat Apr 11 23:19:11 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 8938dea44ad2ce37e148b09b41c4f262a20450fa
      https://github.com/llvm/llvm-project/commit/8938dea44ad2ce37e148b09b41c4f262a20450fa
  Author: River Riddle <riddleriver at gmail.com>
  Date:   2020-04-11 (Sat, 11 Apr 2020)

  Changed paths:
    M mlir/docs/Diagnostics.md
    M mlir/include/mlir/IR/AsmState.h
    M mlir/include/mlir/IR/MLIRContext.h
    M mlir/lib/IR/AsmPrinter.cpp
    M mlir/lib/IR/CMakeLists.txt
    M mlir/lib/IR/MLIRContext.cpp
    M mlir/lib/Pass/PassManagerOptions.cpp
    M mlir/test/IR/print-op-on-diagnostic.mlir
    M mlir/tools/mlir-opt/mlir-opt.cpp
    M mlir/tools/mlir-translate/mlir-translate.cpp

  Log Message:
  -----------
  [mlir][IR] Manually register command line options for MLIRContext and AsmPrinter

Summary: 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/.

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




More information about the All-commits mailing list