diff options
author | rkayaith <rkayaith@gmail.com> | 2022-10-18 14:44:11 -0400 |
---|---|---|
committer | rkayaith <rkayaith@gmail.com> | 2022-11-03 11:36:12 -0400 |
commit | 13bd41096286305ee603428f6adf161f52981827 (patch) | |
tree | a5759247b1ece90e0daf5aac276816f119817ba7 /flang/lib/Frontend/CompilerInvocation.cpp | |
parent | 5073ae2a883f2c1dc2d4e81d9f7ed7ffae8d8ba4 (diff) | |
download | llvm-13bd41096286305ee603428f6adf161f52981827.zip llvm-13bd41096286305ee603428f6adf161f52981827.tar.gz llvm-13bd41096286305ee603428f6adf161f52981827.tar.bz2 |
[mlir][Pass] Include anchor op in -pass-pipeline
In D134622 the printed form of a pass manager is changed to include the
name of the op that the pass manager is anchored on. This updates the
`-pass-pipeline` argument format to include the anchor op as well, so
that the printed form of a pipeline can be directly passed to
`-pass-pipeline`. In most cases this requires updating
`-pass-pipeline='pipeline'` to
`-pass-pipeline='builtin.module(pipeline)'`.
This also fixes an outdated assert that prevented running a
`PassManager` anchored on `'any'`.
Reviewed By: rriddle
Differential Revision: https://reviews.llvm.org/D134900
Diffstat (limited to 'flang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions