[mlir][Pass] Disallow mixing -pass-pipeline with other pass options
authorrkayaith <rkayaith@gmail.com>
Tue, 11 Oct 2022 19:23:48 +0000 (15:23 -0400)
committerrkayaith <rkayaith@gmail.com>
Wed, 2 Nov 2022 16:16:50 +0000 (12:16 -0400)
commit0c36a1569a066e2a5fcbaa2835c7b3ea49f60458
tree0cf9356a164f23982bb9b1cab7ba1cf0cca6981a
parent1c0f541a4d1d4eebda81838c717b5b58525e6c7f
[mlir][Pass] Disallow mixing -pass-pipeline with other pass options

Currently `-pass-pipeline` can be specified multiple times and mixed
with the individual `-pass-name` options. Removing this feature will
allow for including the pipeline anchor as part of the option
argument (see D134900).

Reviewed By: rriddle

Differential Revision: https://reviews.llvm.org/D135745
mlir/include/mlir/Pass/PassRegistry.h
mlir/lib/Pass/PassRegistry.cpp
mlir/test/Pass/pipeline-parsing.mlir