[all-commits] [llvm/llvm-project] a62d38: Disable implicit nesting on parsing textual pass p...

Mehdi Amini via All-commits all-commits at lists.llvm.org
Wed Nov 11 11:22:12 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: a62d38a90d2feee3955df032f22a02a09a42cd44
      https://github.com/llvm/llvm-project/commit/a62d38a90d2feee3955df032f22a02a09a42cd44
  Author: Mehdi Amini <joker.eph at gmail.com>
  Date:   2020-11-11 (Wed, 11 Nov 2020)

  Changed paths:
    M mlir/include/mlir/Pass/PassManager.h
    M mlir/include/mlir/Pass/PassRegistry.h
    M mlir/lib/Pass/Pass.cpp
    M mlir/lib/Pass/PassRegistry.cpp
    M mlir/lib/Support/MlirOptMain.cpp
    M mlir/test/Bindings/Python/pass_manager.py
    M mlir/test/Pass/pipeline-options-parsing.mlir
    M mlir/test/Pass/pipeline-parsing.mlir

  Log Message:
  -----------
  Disable implicit nesting on parsing textual pass pipeline

Previous the textual form of the pass pipeline would implicitly nest,
instead we opt for the explicit form here: this has less surprise.

This also avoids asserting in the bindings when passing a pass pipeline
with incorrect nesting.

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




More information about the All-commits mailing list