[all-commits] [llvm/llvm-project] 46708a: [mlir][Pass] Move PassExecutionAction to Pass.h, N...
Aman LaChapelle via All-commits
all-commits at lists.llvm.org
Fri Dec 8 11:22:22 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 46708a5bcba28955b2ddeddf5c0e64398223642b
https://github.com/llvm/llvm-project/commit/46708a5bcba28955b2ddeddf5c0e64398223642b
Author: Aman LaChapelle <aman.lachapelle at gmail.com>
Date: 2023-12-08 (Fri, 08 Dec 2023)
Changed paths:
M mlir/include/mlir/Pass/Pass.h
M mlir/lib/Pass/Pass.cpp
M mlir/lib/Pass/PassDetail.h
M mlir/unittests/Pass/CMakeLists.txt
M mlir/unittests/Pass/PassManagerTest.cpp
Log Message:
-----------
[mlir][Pass] Move PassExecutionAction to Pass.h, NFC. (#74850)
This patch moves PassExecutionAction to Pass.h so that it can be used by
the action framework to introspect and intercede in pass managers that
might be set up opaquely. This provides for a very particular use case,
which essentially involves being able to intercede in a PassManager and
skip or apply individual passes. Because of this, this patch also adds a
test for this use case to verify that it could in fact work.
More information about the All-commits
mailing list