[all-commits] [llvm/llvm-project] 77c633: [MLIR][mlir-opt] Add `registerationAndParseCLIOpti...

weiwei chen via All-commits all-commits at lists.llvm.org
Sun Oct 29 19:58:46 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 77c63391979ba2a7e5ab37ddf4714547c4f17f0a
      https://github.com/llvm/llvm-project/commit/77c63391979ba2a7e5ab37ddf4714547c4f17f0a
  Author: weiwei chen <weiwei.chen at modular.com>
  Date:   2023-10-29 (Sun, 29 Oct 2023)

  Changed paths:
    M mlir/include/mlir/Tools/mlir-opt/MlirOptMain.h
    M mlir/lib/Tools/mlir-opt/MlirOptMain.cpp

  Log Message:
  -----------
  [MLIR][mlir-opt] Add `registerationAndParseCLIOptions` for `MlirOptMain`. (#70581)

Seprate registeration and CLI parsing from `MlirOptMain` to
`mlir::registrationAndParseCLIOptions` and a new `MlirOptMain` so that
external tools to drive `mlir-opt` can call these two new APIs to get CLI
option values before running `MlirOptMain`.




More information about the All-commits mailing list