[all-commits] [llvm/llvm-project] fb1bb6: Expose a convenient registerCLOptions() for MlirOp...

Mehdi Amini via All-commits all-commits at lists.llvm.org
Mon Mar 6 06:17:14 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: fb1bb6a0b0f010661413779e9ba8899227320d63
      https://github.com/llvm/llvm-project/commit/fb1bb6a0b0f010661413779e9ba8899227320d63
  Author: Mehdi Amini <joker.eph at gmail.com>
  Date:   2023-03-06 (Mon, 06 Mar 2023)

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

  Log Message:
  -----------
  Expose a convenient registerCLOptions() for MlirOptMainConfig

This allows for downstream *-opt tools to stay always aligned with the options
exposed by mlir-opt.
It aligns the "generic" options with the more "components" ones like the
pass manager options or the context options.

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




More information about the All-commits mailing list