[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:56:47 PST 2021
This revision was automatically updated to reflect the committed changes.
Closed by commit rGe2bd29a0d680: [flang][NFC] Update the CG rewrite pass. (authored by schweitz).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D95888/new/
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.320874.patch
Type: text/x-patch
Size: 723 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210202/1404dfd0/attachment.bin>
More information about the llvm-commits
mailing list