[clang] [llvm] [polly] [PassManager] Make passes inherit from RequiredPassInfoMixin/OptionalPassInfoMixin (PR #192120)
Nikita Popov via llvm-commits
llvm-commits at lists.llvm.org
Wed May 6 03:00:43 PDT 2026
================
@@ -44,8 +44,8 @@ template <typename AnalysisT, bool IsSimple,
typename AnalysisGraphTraitsT =
DefaultAnalysisGraphTraits<typename AnalysisT::Result &, GraphT>>
struct DOTGraphTraitsViewer
- : PassInfoMixin<DOTGraphTraitsViewer<AnalysisT, IsSimple, GraphT,
- AnalysisGraphTraitsT>> {
+ : OptionalPassInfoMixin<DOTGraphTraitsViewer<AnalysisT, IsSimple, GraphT,
+ AnalysisGraphTraitsT>> {
----------------
nikic wrote:
I guess it's orthogonal to the mass change, but this should probably be required similar to printer passes?
https://github.com/llvm/llvm-project/pull/192120
More information about the llvm-commits
mailing list