[PATCH] D95888: [flang][NFC] Update the CG rewrite pass.
Eric Schweitz via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Feb 2 11:02:03 PST 2021
schweitz created this revision.
schweitz added reviewers: jeanPerier, kiranchandramohan, clementval.
schweitz added a project: Flang.
Herald added a subscriber: jdoerfert.
schweitz requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
Add description and dependencies.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D95888
Files:
flang/include/flang/Optimizer/CodeGen/CGPasses.td
Index: flang/include/flang/Optimizer/CodeGen/CGPasses.td
===================================================================
--- flang/include/flang/Optimizer/CodeGen/CGPasses.td
+++ flang/include/flang/Optimizer/CodeGen/CGPasses.td
@@ -16,9 +16,13 @@
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D95888.320855.patch
Type: text/x-patch
Size: 723 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210202/161245dc/attachment.bin>
More information about the llvm-commits
mailing list