diff options
author | rkayaith <rkayaith@gmail.com> | 2022-10-19 22:37:12 -0400 |
---|---|---|
committer | rkayaith <rkayaith@gmail.com> | 2022-11-03 11:48:21 -0400 |
commit | 215eba4e1ea240dd9223c14b80da664f0bb930cc (patch) | |
tree | 62d0f38c3c0a0cee62dfca7ffc5bad706afe0ee3 /flang/lib/Frontend/CompilerInvocation.cpp | |
parent | d511a5d47166b024a4ce5e4202bf83400acef05c (diff) | |
download | llvm-215eba4e1ea240dd9223c14b80da664f0bb930cc.zip llvm-215eba4e1ea240dd9223c14b80da664f0bb930cc.tar.gz llvm-215eba4e1ea240dd9223c14b80da664f0bb930cc.tar.bz2 |
[mlir][CAPI] Include anchor op in mlirParsePassPipeline
The pipeline string must now include the pass manager's anchor op. This
makes the parse API properly roundtrip the printed form of a pass
manager. Since this is already an API break, I also added an extra
callback argument which is used for reporting errors.
The old functionality of appending to an existing pass manager is
available through `mlirOpPassManagerAddPipeline`.
Reviewed By: mehdi_amini, ftynse
Differential Revision: https://reviews.llvm.org/D136403
Diffstat (limited to 'flang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions