[all-commits] [llvm/llvm-project] e9cda7: [mlir][Pass] Add a new PassNameCLParser specifical...

River Riddle via All-commits all-commits at lists.llvm.org
Tue Dec 15 14:59:51 PST 2020


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e9cda7c5a0b70dd029e201cd2cc2e1d7105d0672
      https://github.com/llvm/llvm-project/commit/e9cda7c5a0b70dd029e201cd2cc2e1d7105d0672
  Author: River Riddle <riddleriver at gmail.com>
  Date:   2020-12-15 (Tue, 15 Dec 2020)

  Changed paths:
    M mlir/include/mlir/Pass/PassRegistry.h
    M mlir/lib/Pass/PassManagerOptions.cpp
    M mlir/lib/Pass/PassRegistry.cpp

  Log Message:
  -----------
  [mlir][Pass] Add a new PassNameCLParser specifically for parsing lists of pass names

This parser does not include the general `pass_pipeline` option, the pass pipeline entries, or the options of pass entries. This is useful for cases such as `print-ir-after` that just want the user to select specific pass types. This revision greatly reduces the amount of text in --help for several MLIR based tools.

Fixes PR#45495

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




More information about the All-commits mailing list