[all-commits] [llvm/llvm-project] 6c05ca: Remove the `run` method from `OpPassManager` and `...
Mehdi Amini via All-commits
all-commits at lists.llvm.org
Wed Aug 26 21:57:48 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 6c05ca21b92a720a3a6022bc1604a8809aaa85fd
https://github.com/llvm/llvm-project/commit/6c05ca21b92a720a3a6022bc1604a8809aaa85fd
Author: Mehdi Amini <joker.eph at gmail.com>
Date: 2020-08-27 (Thu, 27 Aug 2020)
Changed paths:
M mlir/include/mlir/Pass/Pass.h
M mlir/include/mlir/Pass/PassManager.h
M mlir/lib/Pass/Pass.cpp
M mlir/lib/Pass/PassDetail.h
Log Message:
-----------
Remove the `run` method from `OpPassManager` and `Pass` and migrate it to `OpToOpPassAdaptor`
This makes OpPassManager more of a "container" of passes and not responsible to drive the execution.
As such we also make it constructible publicly, which will allow to build arbitrary pipeline decoupled from the execution. We'll make use of this facility to expose "dynamic pipeline" in the future.
Reviewed By: rriddle
Differential Revision: https://reviews.llvm.org/D86391
More information about the All-commits
mailing list