[all-commits] [llvm/llvm-project] 165c6d: [mlir] Add support for parsing nested PassPipeline...

Nikhil Kalra via All-commits all-commits at lists.llvm.org
Fri Aug 9 13:54:22 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 165c6d12519cf66f4ef3f5a00f9b1ed83613ff28
      https://github.com/llvm/llvm-project/commit/165c6d12519cf66f4ef3f5a00f9b1ed83613ff28
  Author: Nikhil Kalra <nikhil.kalra at gmail.com>
  Date:   2024-08-09 (Fri, 09 Aug 2024)

  Changed paths:
    M mlir/include/mlir/Pass/PassOptions.h
    M mlir/lib/Pass/PassRegistry.cpp
    M mlir/test/Pass/pipeline-options-parsing.mlir
    M mlir/test/lib/Pass/TestPassManager.cpp

  Log Message:
  -----------
  [mlir] Add support for parsing nested PassPipelineOptions (#101118)

- Added a default parsing implementation to `PassOptions` to allow
`Option`/`ListOption` to wrap PassOption objects. This is helpful when
creating meta-pipelines (pass pipelines composed of pass pipelines).
- Updated `ListOption` printing to enable round-tripping the output of
`dump-pass-pipeline` back into `mlir-opt` for more complex structures.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list