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.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
Might be worth adding for consistency, but I don't have a use case for that at the moment. Typically I see the pass definitions for a group being spread across multiple files.