[all-commits] [llvm/llvm-project] 868a8f: [mlir] Add macro for enabling all generated pass d...
rk via All-commits
all-commits at lists.llvm.org
Wed Sep 28 08:49:44 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 868a8fd88f84b26e810ccf18af8e621947031cbb
https://github.com/llvm/llvm-project/commit/868a8fd88f84b26e810ccf18af8e621947031cbb
Author: rkayaith <rkayaith at gmail.com>
Date: 2022-09-28 (Wed, 28 Sep 2022)
Changed paths:
M mlir/docs/PassManagement.md
M mlir/tools/mlir-tblgen/PassGen.cpp
M mlir/unittests/TableGen/PassGenTest.cpp
Log Message:
-----------
[mlir] Add macro for enabling all generated pass declarations
Currently the generated pass declarations have to be enabled per-pass
using multiple `GEN_PASS_DECL_{PASSNAME}` defines. This adds
`GEN_PASS_DECL`, which enables the declarations for all passes in the
group with a single macro. This is convenient for cases where a single
header is used for all passes in the group.
Reviewed By: mehdi_amini, mscuttari
Differential Revision: https://reviews.llvm.org/D134766
More information about the All-commits
mailing list