forked from OSchip/llvm-project
[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:
parent
f05b0afa79
commit
7ea8c65369
|
@ -11,7 +11,7 @@
|
||||||
|
|
||||||
include "mlir/Pass/PassBase.td"
|
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 summary = "Legalize memref operations to be convertible to LLVM.";
|
||||||
let constructor = "mlir::memref::createExpandOpsPass()";
|
let constructor = "mlir::memref::createExpandOpsPass()";
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue