================ @@ -17,6 +17,8 @@ namespace func { class FuncOp; } +class RewritePatternSet; ---------------- yaochengji wrote: Seems the forward declaration is not needed? https://github.com/llvm/llvm-project/pull/73150