Add description and dependencies.
Differential Revision: https://reviews.llvm.org/D95888
include "mlir/Pass/PassBase.td"
-def CodeGenRewrite : FunctionPass<"cg-rewrite"> {
+def CodeGenRewrite : Pass<"cg-rewrite", "mlir::ModuleOp"> {
let summary = "Rewrite some FIR ops into their code-gen forms.";
+ let description = [{
+ Fuse specific subgraphs into single Ops for code generation.
+ }];
let constructor = "fir::createFirCodeGenRewritePass()";
+ let dependentDialects = ["fir::FIROpsDialect"];
}
#endif // FLANG_OPTIMIZER_CODEGEN_PASSES