[all-commits] [llvm/llvm-project] 215eba: [mlir][CAPI] Include anchor op in mlirParsePassPip...
rk via All-commits
all-commits at lists.llvm.org
Thu Nov 3 08:48:34 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 215eba4e1ea240dd9223c14b80da664f0bb930cc
https://github.com/llvm/llvm-project/commit/215eba4e1ea240dd9223c14b80da664f0bb930cc
Author: rkayaith <rkayaith at gmail.com>
Date: 2022-11-03 (Thu, 03 Nov 2022)
Changed paths:
M mlir/include/mlir-c/Pass.h
M mlir/lib/CAPI/IR/Pass.cpp
M mlir/test/CAPI/pass.c
Log Message:
-----------
[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
More information about the All-commits
mailing list