[mlir][MemRef] Change memref-expand to be a generic operation pass

This pass doesn't rely on any specific characteristics of FuncOp, and
can just be a generic operation pass.

Differential Revision: https://reviews.llvm.org/D121193
This commit is contained in:
River Riddle 2022-03-08 00:02:21 -08:00
parent f05b0afa79
commit 7ea8c65369
1 changed files with 1 additions and 1 deletions

View File

@ -11,7 +11,7 @@
include "mlir/Pass/PassBase.td"
def ExpandOps : Pass<"memref-expand", "FuncOp"> {
def ExpandOps : Pass<"memref-expand"> {
let summary = "Legalize memref operations to be convertible to LLVM.";
let constructor = "mlir::memref::createExpandOpsPass()";
}