File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -78,7 +78,7 @@ def RemoveTrivialUse : Pass<"trivialuse"> {
7878 let constructor = "mlir::polygeist::createRemoveTrivialUsePass()";
7979}
8080
81- def LowerPolygeistOps : FunctionPass <"lower-polygeist-ops"> {
81+ def LowerPolygeistOps : Pass <"lower-polygeist-ops", "FuncOp "> {
8282 let summary = "Lower polygeist ops to memref operations";
8383 let constructor = "mlir::polygeist::createLowerPolygeistOpsPass()";
8484 let dependentDialects = ["::mlir::memref::MemRefDialect"];
Original file line number Diff line number Diff line change @@ -63,7 +63,7 @@ struct SubIndexToReinterpretCast
6363struct LowerPolygeistOpsPass
6464 : public LowerPolygeistOpsBase<LowerPolygeistOpsPass> {
6565
66- void runOnFunction () override {
66+ void runOnOperation () override {
6767 auto op = getOperation ();
6868 auto ctx = op.getContext ();
6969 RewritePatternSet patterns (ctx);
You can’t perform that action at this time.
0 commit comments